Dear Golam, dear All, On 27 Jul., 04:01, Golam Mortuza Hossain <[email protected]> wrote: > Hi, > > While doing some symbolic computations that require > Maxima interface, "timeit" reports progressively > longer duration for the same computation. > > --------- > sage: f(x) = function('f',x); > sage: timeit('bool( f(x) == 0 )') > 5 loops, best of 3: 71.6 ms per loop > sage: timeit('bool( f(x) == 0 )') > 5 loops, best of 3: 89.1 ms per loop
Finally someone comes up with a very short example of this phenomenon! It bothered me a long time ago, resulting one of my first posts on sage-support, archived at http://www.mail-archive.com/[email protected]/msg01727.html The code that I posted there was far too complicated, I guess. But later, I posted trac ticket #4731 with a much simpler code, see http://trac.sagemath.org/sage_trac/ticket/4731 Appararently nobody was ever working on it. Your code is probably very close to the source of trouble. So, perhaps now is about time to start fixing the ticket #4731? Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
