On Aug 28, 1:52 am, Stan Schymanski <[EMAIL PROTECTED]> wrote:
> I am not sure if this is the appropriate place to ask this question,
> but I'll do it anyway:

It would probably have been better to start a new thread in sage-
support.

> 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)

The difference I see between the fast and slow cases is whether av is
a string or a symbolic object.  What happens if you try:
%time
longfast=long.subs(locals())._fast_float_('av')

?

Also, to ensure that your use cases run as fast as possible, it would
be nice if you could add this example as a test case to
http://wiki.sagemath.org/fast_eval .  Thanks!

Carl

--~--~---------~--~----~------------~-------~--~----~
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