[Twisted-Python] Binary files in Twisted

Dave Peticolas dave at krondo.com
Fri Aug 27 22:36:15 EDT 2004


On Fri, 2004-08-27 at 19:00, Glyph Lefkowitz wrote:
> 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" :)

I'm using 1.3.0 and see the mem leak. I was planning
on applying the patch to _c_urlarg.c so I still get
the speedup.

dave






More information about the Twisted-Python mailing list