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


Rich Salz wrote:
>> Only benchmarking/profiling can tell
> 
> 
> It's hard to beat this:

Not that hard I'd say given that an XML processor has to recognize 
'quot' and 'apos' and 'gt'.


>         if ((*buff++ = *src++) == '&')
>         {
               switch *buff
               {
               case 'a':
                   // nother if here
               case 'q':
                   // insert code
               case 'l':
                   // insert code
               case 'g':
                   // insert code
               }





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