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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] genx - consensus items

[ Lists Home | Date Index | Thread Index ]

> In genx, the only significant string comparison is checking for dupe 
> attributes (I think; haven't written the code yet).  Since you only 
> check each one once, the cost of doing an intern() (what I assume you 
> mean by atomize) is probably higher than just doing the string 
> comparison. -Tim

Tim,

In case you occasionally decide to add a check for name match for closing elements,
it is p!=q && strcmp(p,q); that is, if the application supplies the same string,
it can be compared as pointer. Let C atomize strings for the programmer.

David




 

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

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