mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
17 lines
267 B
C++
17 lines
267 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
WString x;
|
|
for(int i = 0; i < 1000000; i++)
|
|
x.Cat(Random(20000));
|
|
|
|
String utf8 = x.ToString();
|
|
|
|
for(int i = 0; i < 100; i++) {
|
|
RTIMING("conversion");
|
|
utf8.ToWString();
|
|
}
|
|
}
|