Thanks! On Mar 6, 6:36 pm, William Stein <[email protected]> wrote: > On Sat, Mar 6, 2010 at 3:49 AM, Flavio Coelho <[email protected]> wrote: > > After installing sage 4.3.3, the cell evaluation hangs indefinetly if > > I combine %cython and %timeit modes. > > > if I remove the %timeit the cell executes normally. > > > anyone else can confirm this behavior? > > > Is there any quick fix? I want to benchmark the execution of cython > > block of code, without the %timeit mode I'll have to resort to > > measuring the time explicitly... > > I think this is trac 8225: > > http://trac.sagemath.org/sage_trac/ticket/8225 > > Regarding a workaround, you can just call timeit directly as follows: > > print timeit.eval(r""" > a = 102 > for i in range(10): > factor(2^(a+i)+1) > """) > > > > > thanks in advance, > > > Flávio > > > -- > > 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 > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org
-- 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
