mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Do some string library work
This commit is contained in:
parent
83d41e4588
commit
35203c0551
42 changed files with 1381 additions and 136 deletions
|
@ -51,6 +51,6 @@ TEST(utf16to32, testAstralPlanesGothic) {
|
|||
BENCH(utf16to8, bench) {
|
||||
size_t n;
|
||||
char16_t *h;
|
||||
h = gc(utf8toutf16(kHyperion, kHyperionSize, &n));
|
||||
EZBENCH2("utf16toutf8", donothing, free(utf16to32(h, n, 0)));
|
||||
h = gc(utf8to16(kHyperion, kHyperionSize, &n));
|
||||
EZBENCH2("utf16to32", donothing, free(utf16to32(h, n, 0)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue