[Cython] Make positive int literals unsigned long?

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Mon Aug 4 15:50:19 CEST 2008


If we make positive int literals unsigned long rather than plain long, 
constant-index buffer lookups are going to be optimized for free. Is 
there going to be any ill side-effects from doing this?

(If not, I can always special-case int literals used for buffer lookups.)

-- 
Dag Sverre


More information about the Cython-dev mailing list