Closed kurtextrem closed 1 month ago
Going to close this out, I managed to get an extra 10% perf boost across the board by instead iterating using a loop over whitespace (no more trim
at all) in https://github.com/jshttp/cookie/pull/170, and it maintains backward compatibility with the quote characters.
see https://github.com/fastify/fastify-cookie/pull/194#issuecomment-1184444263
Before & after as diff: https://www.diffchecker.com/hO2It0SH on node v16 (
unquote
-> +300 000 op/s)