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

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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