SAX2: Namespace proposal

Tim Bray tbray at textuality.com
Mon Dec 20 16:46:28 GMT 1999


At 03:13 PM 12/20/99 -0000, Miles Sabin wrote:
>> That's probably why most parsers have their own intern 
>> routines rather than using java.lang.String.intern -- at 
>> least, I wrote a custom hashing and interning routine for 
>> AElfred that sped it up quite significantly over (a) using 
>> java.lang.String.intern() or (b) allocating a new string for 
>> every element name.
>
>Ditto, using a very nice data structure that John Cowan brought
>to my attention, see,

Heh-heh, Lark's is just an array that was binary-searched.  We don'
need no steeenkin' advanced data structures.  It is fast enough to
vanish in the static in the profiler output. -T.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list