[
Lists Home |
Date Index |
Thread Index
]
- From: Tim Bray <tbray@textuality.com>
- To: Miles Sabin <msabin@cromwellmedia.co.uk>, David Megginson <david@megginson.com>, xml-dev@ic.ac.uk
- Date: Mon, 20 Dec 1999 08:45:13 -0800
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@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|