[Twisted-Python] cBanana diffs

Itamar Shtull-Trauring twisted at itamarst.org
Mon Jul 8 05:27:53 EDT 2002


Bruce Mitchener wrote:

> I've made a couple of local changes to cBanana to look at improving the 
> performance of it some.

Great! Got any numbers showing the speed difference?

> One thing that was taking a while in simple runs was the handling of 
> LONGINT and LONGNEG values (which call back into Python rather than 
> using C code).  I've not yet optimized that at all as I don't yet have a 
> good enough understanding.

Well, in general it's probably a good idea to avoid using long ints, since 
they will be slow no matter what and support in other languages may be iffy.






More information about the Twisted-Python mailing list