Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-07-23 19:01:53 +0200
committerMartin Hořeňovský2026-07-23 19:10:14 +0200
commitbb8873ccd710d55a4fa7cc02d710fdb4da69cfb0 (patch)
tree930aac9ae23deb544cc5981599e7003e342c3e41 /docs
parent46bdf1a04c92e7d34ee24f95d8d8a862498eede7 (diff)
downloadcatch3-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 'docs')
0 files changed, 0 insertions, 0 deletions