[wx-dev] Improving wxString proposal (Re: #9672: wx 2.9 Ansi/Unicode Combi-wxString)

Jethro Grassie jtgrassie at gmail.com
Tue Jul 8 02:49:07 PDT 2008


I cannot see what is soo wrong with how strings are in 2.8 (and to be
honest, I havent looked into what the changes are in 2.9).

But basically, as in 2.8, a wxString should internally be either char or
wchar.
If you have compiled in unicode (so wchar) and need a char, you use the
conversion classes.
Same if in non-unicode and you require a unicode string, use conversion
classes.

I really dont see why anyone has a problem with this.

On Tue, Jul 8, 2008 at 8:58 AM, Robert Roebling <robert at roebling.de> wrote:

> Vaclav wrote:
>
> > > If my numbers are right,
> >
> > They may be right, but they are meaningless. You felt for the trap
> > called "microbenchmarks". Microbenchmarks are all but useless for
> > measuring real performance.
>
> The benefit of using UTF-8 hasn't even been shown in micro benchmarks,
> it hasn't been shown at all.
>
>  Robert
>
>
> _______________________________________________
> wx-dev mailing list
> wx-dev at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20080708/c106d=
579/attachment-0001.htm


More information about the wx-dev mailing list