[Twisted-Python] Binary files in Twisted

Glyph Lefkowitz glyph at divmod.com
Fri Aug 27 22:00:34 EDT 2004


On Fri, 2004-08-27 at 09:33 -0400, James Y Knight wrote:
> On Aug 27, 2004, at 4:34 AM, Tsai Li Ming wrote:
> > What are the following libraries that is build when I install Twisted?
> >
> > ./protocols/_c_urlarg.so
> 
> Optional url parsing speedup code -- this has a memory leak in 1.3.0 
> and previous, so you probably don't want to use it in those versions. 
> Removing will cause the slower python code to be used instead. (I don't 
> know how much this helps, it might be a premature optimization anyhow).

I believe this was implemented after profiling of the HTTP parser
revealed that urlarg parsing was the slowest part.  So, for some it
might be "unnecessary" but I don't believe it's "premature" :)





More information about the Twisted-Python mailing list