[Home] [By Thread] [By Date] [Recent Entries]


> 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member