Lists Home |
Date Index |
- From: firstname.lastname@example.org (Terje Norderhaug)
- To: xml-dev <email@example.com>
- Date: Mon, 7 Feb 2000 12:53:34 -0800
At 6:26 PM 2/6/00, David Brownell wrote:
>Stefan Haustein wrote:
>> Terje Norderhaug wrote:
>> > At 4:46 AM 2/5/00, Stefan Haustein wrote:
>> > > Terje Norderhaug wrote:
>> > >> I suggest that parsers interns each name as a separate string in the
>> > >> namespace it belong to. ...
>> would expect that both strings are java-interned. Also, you
>> would not be able to compare just against a constant.
>It'd be 'string.equals', the pricey one.
That would be the same if no names were interned, so later comparasion is
no worse off if names are interned in their namespace (but instead better
off for those that know how to take advantage of name identity).
-- Terje <firstname.lastname@example.org> | Media Design in*Progress
Software for Mac Web Professionals at <http://www.in-progress.com>
Take advantage of XML with Emile, the first XML editor for Mac!