diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-09-26 20:19:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 20:19:02 +0200 |
commit | 6c007aa5abde06fc7d9d57b6a3a8153727e5ccdc (patch) | |
tree | 4cf293279d8896c56868e838c7547a0c8085c3aa /ext/fetch/23_request.js | |
parent | b095157c1d9ffd979a82f559aa488e35c2e7f392 (diff) |
perf(fetch/headers): optimize appendHeader (#12234)
Use a single regex to check for `\0`, `\n`, `\r` instead of 3 `String.includes(...)` calls
Diffstat (limited to 'ext/fetch/23_request.js')
0 files changed, 0 insertions, 0 deletions