diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-07-15 19:35:10 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-07-15 19:35:10 -0400 |
| commit | c3d20373ee232c7eabcf11a22c1c5e130f2a58cb (patch) | |
| tree | e8bbeda29aa7fb467fe511832413b8c0240a9829 /src/main.cpp | |
| parent | 851a7288a9a506cbdcb025bc5842a9099bf2bb83 (diff) | |
| download | zig-c3d20373ee232c7eabcf11a22c1c5e130f2a58cb.tar.gz zig-c3d20373ee232c7eabcf11a22c1c5e130f2a58cb.zip | |
std.unicode.utf8ToUtf16Le: improve performance
on a simple test input:
original utf8ToUtf16Le: elapsed: 111384483 ns (111 ms)
new utf8ToUtf16Le: elapsed: 138570 ns (0 ms)
it's 800x faster in debug mode and ~4500x faster in release-fast mode.
this was slowing down installation of files on windows in build scripts.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions
