> That's what I was expecting. That's what worries me
>
> I don't do much in the events.
> I copy the pointer for element names and the string for text
> and a small bit of management to make sure there are no leaks or other
nastiness
> I am doing a progressive parse but I wouldn't have thought that would
matter
Why don't you simply comment out your code in the event handlers, and see
what the performance is like? If the parsing has reached a speed close to
what you would expect, you can introduce your code bit-by-bit or profile it
to see where the problems are.
> m_acData.assign(&pcText[0], &pcText[uiLength]);
Is this a std::vector? If so, have you tried simply reserving a reasonable
amount of space in the vector before you start? That can often make a big
difference in the number of delete/new calls the vector makes when it has
to resize itself.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]