|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX2: Interning names in namespaces
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!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








