OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   interning [Re: SAX2: Namespace proposal]

[ Lists Home | Date Index | Thread Index ]
  • From: james anderson <James.Anderson@mecomnet.de>
  • To: "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
  • Date: Tue, 21 Dec 1999 17:52:38 +0100

My experience is exactly the opposite. Where the app is written in a language
like java, it will likely know the names of significant things at the time it
is coded. In which case they can be statically interned. Even if it necessary
to push this off to runtime a binding to "behaviour" can be done on the basis
of interned symbols. For something like an XSL processors the story _may_ be
different, but i'd like to see numbers first, before i would believe it.

Miles Sabin wrote:
> 
> Joe Lapp wrote,
> > Using Java String interning, how do you guys guarantee
> > performance in any of the DOM Element get*() methods that take
> > Strings?  Do you require that the app intern the string before
> > passing it in?  

As I've noted elsewhere, in lisp, symbols suffice: they're interned when the
program source is read, that is, even before the program is compiled.

...


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)






 

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

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