
February 20th, 2004, 08:41 AM
|
 |
Mini me.
|
|
Join Date: Nov 2003
Location: Cambridge, UK
|
|
Just a very bad memory and not enough sleep Strike  .
Using sys.maxint will be the most maintainable scheme and is to be recommended
I was shocked  to find it slowed the routine down . Not by much, but measurable. I guess the code can be optimised since an in-line constant won't change but the same cannot be said for sys.maxint.
Grim.
|