I am not sure if this is the appropriate place to ask this question,
but I'll do it anyway:

Why is "var._fast_float_(const)" so much slower than
fast_float(var,'const')?

Example without giving the long definition of the variable 'long':

%time
longfast=long.subs(locals())._fast_float_(av)

gives:

CPU time: 0.59 s,  Wall time: 1.60 s


%time
from sage.ext.fast_eval import fast_float
longfast1=fast_float(long.subs(locals()),'av')

gives:

CPU time: 0.01 s,  Wall time: 0.01 s

This is in a notebook in Firefox 3 on Mac OS 10.4.11 with sage 3.1.1.

I am very in favour of the fast_float functionality, since I wouldn't
be able to do what I'm doing without it. Plotting and calculations
would be far too slow. +1

Cheers

Stan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to