Re: [xml] libxml2 performance

On Fri, May 31, 2002 at 09:17:01AM +0200, Peter Jacobi wrote:
When we have optimized everything else to take only
a quarter of the current time, it may be worth to return
to isolat1ToUTF8.

  Actually, a lot of document are flagged as iso latin 1 so
even a small improvement in that area is not neglectable !
One possible optimization is to fetch/test/save for ASCII data
on 32bits chunks, doing an AND with 0x80808080, one just need to 
to take more care for the beginning and end of the segment to test
since unaligned accesses on 32 bits values would be a bummer.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]