[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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
|
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
|