diff options
| author | Martin Hořeňovský | 2026-07-23 19:01:53 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-07-23 19:10:14 +0200 |
| commit | bb8873ccd710d55a4fa7cc02d710fdb4da69cfb0 (patch) | |
| tree | 930aac9ae23deb544cc5981599e7003e342c3e41 /src/Progmasoft/Runner/Process.cpp | |
| parent | 46bdf1a04c92e7d34ee24f95d8d8a862498eede7 (diff) | |
| download | catch3-bb8873ccd710d55a4fa7cc02d710fdb4da69cfb0.tar.gz | |
JSONWriter uses LUT for faster checking if a char needs escaping
This provides nice speedup when writing strings that don't need
escaping, at about 6% in Debug build and ~40% in Release build.
If the strings do need escaping the speedup is much smaller, at
~1% in Debug and ~6% in Release build, as the cost of actually
escaping the strings dwarves the cost of checking.
Diffstat (limited to 'src/Progmasoft/Runner/Process.cpp')
0 files changed, 0 insertions, 0 deletions