Re: [xml-dev] Internal entities removed from XML?

[ Lists Home | Date Index | Thread Index ]

I wrote,
> And I forgot a bunch of top-level mismatch cases too. Add the
> following,

And of course that switch means that effectively we've got roughly twice 
the number of comparisons as basic linear search.

OK, twice the comparisons, 1/4 the memory accesses ... YMMV. Maybe Knuth 
was right all along ;-)

Cheers,


Miles




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS