Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1371
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: Fri Nov 01 00:58:14 CET 2024

Total time taken to generate the page: 0.01130 seconds