On 10/6/11 5:21 PM, Jason Grout wrote:
I was going to say that fast_callable was your friend, but this shows
that sometimes, fast_callable isn't smart enough (apparently it doesn't
know about the libc log, for example):
http://test.sagenb.org/home/pub/10/
I found and fixed the bug where fast_callable doesn't recognize the log
function. I've posted a patch to
http://trac.sagemath.org/sage_trac/ticket/11903 (reviewers requested,
please)
With this patch, we have:
sage: timeit('[g_fastcallable(x,y) for x in xvalues for y in yvalues]')
625 loops, best of 3: 265 盜 per loop
so it does indeed take care of the problem pointed out in the worksheet
above.
Thanks,
Jason
--
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-support
URL: http://www.sagemath.org