Crow/tests
Thomas Neumann 15085a9f95 avoid memory allocation in base64decode
Every single call to base64decode allocates a mapping table for all
base64 characters. This is quite wasteful, as the map is in fact static.
We could use a static variable here, but that would have unpleasant consequences
if we ever encounter input with non-valid base64 characters (which
implicitly modifies the map).

The number of character ranges for base64 is quite low (3, plus 4 exceptions),
thus we can simply check that explicitly in code instead of using a dynamic hash table.
2022-01-24 07:24:34 +01:00
..
img small fixes, optimizations, and documentation 2021-07-30 13:09:01 +03:00
ssl improved lambda bracing by inlining only empty lambdas. 2021-11-27 19:22:35 +01:00
template improved lambda bracing by inlining only empty lambdas. 2021-11-27 19:22:35 +01:00
catch.hpp update catch2 to v2.13.8 2022-01-22 19:27:08 +01:00
CMakeLists.txt Updated ssl_test CMake config to match revamped_setup 2021-09-28 00:50:26 +03:00
unittest.cpp avoid memory allocation in base64decode 2022-01-24 07:24:34 +01:00