[Tutor] whats the best way to structure my data?

John Fouhy john at fouhy.net
Fri May 11 02:38:17 CEST 2007


On 11/05/07, Jeff Peery <jeffpeery at yahoo.com> wrote:
> ok, thanks. so is there a difference in performance if I do it this way
> versus if I use say a numpy function on an array? thanks.

I don't know enough about numpy to answer your quesiton, but you may
be able to answer it yourself: check out the timeit module.  Type
'import timeit' and then 'help(timeit)' from the python interpreter.

-- 
John.


More information about the Tutor mailing list