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

Robert Roebling robert at roebling.de
Sun Jul 6 09:01:10 PDT 2008


> HK> Preliminary results for this test routine:
> HK> 
> HK> 	wxArrayString testarray;
> HK> 	testarray.reserve(repeat);
> HK> 	for (i=repeat; i>0; --i) {
> HK> 		testarray.Add(L"const_string");
> HK> 	}

[...]

>  Also, under Unix it should be the other way round: wchar_t build was
> penalized before but now the code above (without "L") doesn't do any
> conversions in default UTF-8 build.

Only if the current locale also is UTF-8,

  Robert



More information about the wx-dev mailing list