[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: On Case and Performance
At 02:34 PM 06/09/97 -0700, Jon Bosak wrote: >| Resulting performance improvement in Lark, in processing the XML spec: >| a factor of 11.9. > >Now you've made me too curious to resist asking. What's the >performance difference if you just compare codes directly and don't >bother with case folding? To test that I'd have to go regularize the case of all the tags in the XML spec which <subtext>seems like an unreasonable amount of work</subtext>. Anyhow, the routine that checks whether we've seen a GI (where this stuff is) is taking 8.7% of the total time. So the gain from skipping the monocasing entirely is not going to be dramatic. In fact, it's now spending more time in BufferedInputStream.read() (oh for a good old-fashioned getc() macro). -Tim xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|