On Wed, 18 Mar 2009 at 05:27PM -0700, kcrisman wrote:
> Incidentally, Dan's original syntax does not seem to be valid in the
> notebook, nor is
> %time 2+2
> in a cell in one line, which means essentially one can only time a
> whole cell or not at all (see
> http://groups.google.com/group/sage-support/browse_thread/thread/e028015763b31c49/09d2bef404f3c2f2#09d2bef404f3c2f2).
> 
> Also, in the command line,
> sage: %time 2+2
> works but
> sage: %time 2+2; %time 2+3
> does not.

I discovered this same thing not long after sending my email. Also, in
the notebook, %time and %timeit seem to do the same thing, but on the
command line, %timeit runs multiple loops.

There's definitely something weird going on with the %time* commands...

Dan

-- 
---  Dan Drake <dr...@kaist.edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to