#15549: Streamline construction of PARI objects
------------------------------------+------------------------
Reporter: pbruin | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.1
Component: interfaces | Resolution:
Keywords: pari performance | Merged in:
Authors: Peter Bruin | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #15461 | Stopgaps:
------------------------------------+------------------------
Changes (by {'newvalue': u'Peter Bruin', 'oldvalue': ''}):
* keywords: => pari performance
* dependencies: => #15461
* author: => Peter Bruin
Old description:
> Clean up the construction of PARI objects by inlining some functions.
New description:
Clean up the construction of PARI objects by inlining some functions and
initialising the `_refers_to` dictionary only when necessary.
Before:
{{{
sage: %timeit -r 1 pari(0)
1000000 loops, best of 1: 1.02 us per loop
}}}
After:
{{{
sage: %timeit -r 1 pari(0)
1000000 loops, best of 1: 875 us per loop
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15549#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.