[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: On Case and Performance

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@i...
  • Date: Sat, 06 Sep 1997 14:50:37 -0700

bufferedinputstream read
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.