>How much does it cost to convert UTF-16 to UTF-8 ?
>Is it really a show-stopper for choosing PCRE?
It's not a show stopper.
However it needs to be included in any benchmarking to compare candidate
engines.
I.E. compare the time to evaluate a regexp on a QString.
If the engine API is UTF16, then QString::constData can be used with no
additional cost.
I suspect the conversion cost is mainly in the memory allocation.
--
Communications with Accenture or any of its group companies ("Accenture Group")
including telephone calls and emails (including content), may be monitored by
our systems for the purposes of security and the assessment of internal
compliance with company policy. Accenture Group does not accept service by
e-mail of court proceedings, other processes or formal notices of any kind.
Accenture means Accenture (UK) Limited (registered number 4757301), Accenture
Technology Solutions Limited (registered number 4442596), or Accenture HR
Services Limited (registered number 3957974), all registered in England and
Wales with registered addresses at 30 Fenchurch Street, London EC3M 3BD, as the
case may be.
From: Sylvain Pointeau [mailto:[email protected]]
Sent: Tuesday, October 11, 2011 15:06
To: Kearns, Shane
Cc: [email protected]; [email protected]
Subject: Re: [Qt5-feedback] Regular expression libraries for QRegExp
An UTF16 API is required for the engine though, as all QStrings are UTF16.
________________________________
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback