I've been playing with the (very cool!) buffer stuff Dag did getting  
ready for the SciPy conference. I've seen a 20% increase in speed not  
adjusting for negative indices, but making sure the indices are  
unsigned is a pain (especially if there is arithmetic involved). One  
proposal that has been brought up is to make positive integer  
constants unsigned, which could lead to complications elsewhere and  
would still require care. Another proposal that I'd like to throw out  
there is to have negative index realigning part of bounds checking,  
i.e. negative indices are not checked for if bounds checking is off.

Thoughts?

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to