On Jul 25, 2009, at 08:08 , Stephen Hartke wrote:

> The following code ends up using a lot of memory:
>
> print get_memory_usage()
> for i in range(100000):
>    b=binomial(5,2)
> print get_memory_usage()
>
> Output:
> 133.48828125
> 135.015625

I just tried this on 4.0.2 and 4.1 (on Mac OS X, 10.5.7), and got the  
same values before and after the loop, so something else must be  
involved.

HTH

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I'm beginning to like the cut of his jibberish.
-----------




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to