Hi Justin,

I'm not sure about the other stuff, but you should do "is None"
instead of "== None" since your times are so low.

sage: a = 2
sage: timeit("a == None")
625 loops, best of 3: 420 µs per loop
sage: timeit("a is None")
625 loops, best of 3: 143 ns per loop

--Mike

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

Reply via email to