U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Performance problem with XmlParser::Next()
Performance problem with XmlParser::Next() [message #49044] Thu, 07 December 2017 14:18 Go to previous message
Novo is currently offline  Novo
Messages: 1431
Registered: December 2006
Ultimate Contributor
Hello,

I'm trying to understand what is line 447 in the method XmlParser::Next() for.
String aval = FromUtf8(~attrval, attrval.GetLength()).ToString();

It is causing major performance problems when parsing big xml files.
What it is doing, it is basically converting StringBuffer --> WString --> String.
I guess it is supposed to retrieve a valid UTF-8 sequence.
Is it possible to replace this conversion with something more performance friendly?

Regards,


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: A question about FileSystemInfo
Next Topic: Fixes to Array::Create & Vector::Create
Goto Forum:
  


Current Time: Sat Apr 25 19:00:53 GMT+2 2026

Total time taken to generate the page: 0.01141 seconds