Hi

I'd like to time how long it takes sympy to evaluate 1 million digits of pi 
using ipython.  I've tried in both Linux and Windows.
Let's look at the linux one for now

import sympy
#This command takes quite a while
pi=sympy.pi.evalf(1000000)
#This command evaluates instantly
pi=sympy.pi.evalf(1000000)

I suspected that sympy was caching the result so I did

export SYMPY_USE_CACHE=no

at the bash prompt before running ipython.  I also tried

export SYMPY_USE_CACHE="no"

either way, same result.  Similarly if I try in windows using Windows 
environment variables and ipython via anaconda python.

This is messing up %timeit 

What am I doing wrong please?

Cheers,
Mike

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to