Optimization for helper class XStr() ?

M

Mario S.

Hi,

I use Xerces 2.5 since 2 weeks for creating/parsing xml documents.
It's important to have the best performance here.
I use always the Macro X() which instantiate helper class XStr() to
transcode the string in the right way. I tool this XStr() out from
the sample codes delivered by Xerces.

There is a comment in source above the XStr() class definition:
// -------------------------------------------------------------------------
--
// This is a simple class that lets us do easy (though not terribly
efficient)
// trancoding of char* data to XMLCh data.
// -------------------------------------------------------------------------
--

My question: Does anybody know a better/more performant way to transcode
a char* to XMLCh ?

Best Regards,
Mario S.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top