On 03/25/2010 09:40 PM, Tom Boothby wrote:
My guess is that it would be very easy to speed up the @cached_method and
@cached_function decorators.

I agree.  IIRC, the majority of the problem is in
sage/misc/function_mangling.py, and my fault.


There is a lot of code in there that gets executed in the critical path. I think a common case of no arguments should be optimized in the cache, and should involve no calls to ArgumentFixer or anything.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to