<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/20/2013 05:31 PM, luiz americo
pereira camara wrote:<br>
</div>
<blockquote
cite="mid:CAMa0j62GtaUvR+r6UG-SsMzTXUm-Uf61-oyOxMY7jiLQ9mrf9A@mail.gmail.com"
type="cite">
The point is that i would expect a smaller performance hit when
there's no conversion going on. Something between 10% slower. In
the
cited case is more than 50% slow.<br>
</blockquote>
As the "dynamic" types of (most) String Variables <big></big>are
already defined and known at compile time, and thus (usually) the
library does not need to detect the encoding in realtime, the
performance hit should be close to zero, as long as the same String
encoding is used as with the non-(DXE-compatible)-Unicode project
with the same source code. <br>
<br>
OTOH, if the former version used 1-Byte-Strings (ANSI or UTF-8) and
the new version used 16 or 32 bit Strings (UTF-16 or UTF32) I would
expect a severe performance hit as well because more bytes need to
be moved and because the cache gets a lot more tight because of the
double memory usage.<br>
<br>
-Michael<br>
</body>
</html>