[sage-devel] Re: Debugging personal code

2009-11-16 Thread James Youngquist
On November 15, 2009 10:54:16 pm William Stein wrote: On Sun, Nov 15, 2009 at 10:23 PM, kstueve kevin.stu...@gmail.com wrote: An alternative to adding/removing/commenting out/uncommenting print statements through your code may be to use decorators. A decorator is a a function that is

[sage-devel] Debugging personal code

2009-11-15 Thread James Youngquist
Hello, I'm new at the whole python/sage thing. Is there a better way to debug pieces of code we're working on other than to insert print statements? Something where we can step through the code a line at a time or generate profiling information regarding number of times a function was

[sage-devel] Re: cache sizes

2009-10-27 Thread James Youngquist
Ubuntu 8.10 64bit Intel Q6600 (Core2Quad) ./cache 8 0.024 7.431 16 0.050 2.085 32 0.102 2.026 64 0.251 2.465 128 0.468 1.866 256 0.557 1.192 512 1.151 2.065 1024 3.055 2.654 2048 6.898 2.258 4096