[Home] [By Thread] [By Date] [Recent Entries]
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 <terje@i...> | 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!
|

Cart



