Re: [xml-dev] genx - consensus items

From
David Tolpin <>
To
Date
2004-01-23T18:22:52Z
ID
<>
Thread
Re: [xml-dev] genx - consensus items
> 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