Hi! On 2012-06-25, Simon King <simon.k...@uni-jena.de> wrote: > My guess is that part of the problem comes from cached methods. Namely, > when the @cached_method decorator is applied, it is tested whether the > to-be-wrapped method has just the argument "self" or has further > arguments; if there are no further arguments, some optimisations take > place. But the problem is: For detecting the number of arguments, one > often enough needs to inspect the source code! See > sage.misc.sageinspect.sage_getargspec.
I just tested: Looking up the argspec when creating a cached method only occurs 43 times at startup. So, that probably isn't the culprit. Best regards, Simon -- 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