Crow/docs/guides
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
..
app.md Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
auth.md avoid memory allocation in base64decode 2022-01-24 07:24:34 +01:00
blueprints.md Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
compression.md Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
json.md multiple docs changes: 2021-11-06 11:54:29 +03:00
logging.md logger: don't append std::endl to the message. 2021-11-29 23:59:41 +01:00
middleware.md multiple docs changes: 2021-11-06 11:54:29 +03:00
multipart.md Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
proxies.md multiple docs changes: 2021-11-06 11:54:29 +03:00
query-string.md multiple docs changes: 2021-11-06 11:54:29 +03:00
routes.md changes after review 2021-12-08 13:01:08 +05:30
ssl.md changed json and app code (relating to blueprints and initializer list) 2021-10-10 14:42:36 +03:00
static.md multiple docs changes: 2021-11-06 11:54:29 +03:00
syste.md multiple docs changes: 2021-11-06 11:54:29 +03:00
templating.md Added mustache lambda expansion 2021-12-10 05:17:25 +03:00
testing.md Fixed typos in docs/guides 2021-12-08 10:39:55 +05:30
websockets.md added macro to enforce ws spec and added 16/64 bit payload length unit tests for ws 2021-11-22 17:39:48 +03:00