Hey,

On Sat, Feb 18, 2012 at 11:20 AM, Stefan Behnel <stefan...@behnel.de> wrote:
> Amaury Forgeot d'Arc, 18.02.2012 10:08:
>> I made some modifications to pypy, cython and lxml,
>> and now I can compile and install cython, lxml, and they seem to work!
>>
>> For example::
>>     html = etree.Element("html")
>>     body = etree.SubElement(html, "body")
>>     body.text = "TEXT"
>>     br = etree.SubElement(body, "br")
>>     br.tail = "TAIL"
>>     html.xpath("//text()")
>>
>> Here are the changes I made, some parts are really hacks and should be
>> polished:
>> lxml: http://paste.pocoo.org/show/552903/
>
> The weakref changes are really unfortunate as they appear in one of the
> most performance critical spots of lxml's API: on-the-fly proxy creation.

In fact I remember using weak references in early versions of lxml,
and getting rid of them at the time sped things up a lot.

Regards,

Martijn
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to