#11342: Make getattr faster on parents and elements
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: performance | Keywords: getattr parent element
Work_issues: | Upstream: N/A
Reviewer: | Author: Simon King
Merged: | Dependencies: #9944
---------------------------+------------------------------------------------
Changes (by SimonKing):
* status: needs_work => needs_review
Comment:
Yep, your patch looks nice. Probably I would have done
{{{
self.PARI_ZERO = self.new_gen_noclear(gen_0)
self.PARI_ZERO._parent = self
}}}
but I think that'll work as well.
Jeroen, are you able to reproduce the segfault when only my patch is
applied? Then perhaps you could review Volker's patch. To me, it seems
reasonable that it fixes the problem, but I can not reproduce the problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11342#comment:40>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.