diff options
author | 2021-09-23 21:43:37 -0700 | |
---|---|---|
committer | 2021-09-23 21:43:37 -0700 | |
commit | ff01dfa03da3b9cb17fe2797a7e5e096844e5ee6 (patch) | |
tree | 04f86518e18a42fe74e5a16033051b51a3ae7b9d /integration/snapshots/code-simplification-neql-define.hmr.debug.js | |
parent | 638b204d1ee38003e7ae1c8d1e3571003964ed30 (diff) | |
download | bun-ff01dfa03da3b9cb17fe2797a7e5e096844e5ee6.tar.gz bun-ff01dfa03da3b9cb17fe2797a7e5e096844e5ee6.tar.zst bun-ff01dfa03da3b9cb17fe2797a7e5e096844e5ee6.zip |
When bundling JSON, only use JSON.parse when the input is ASCII.
We don't want to add an extra pass over the input to convert it to UTF16. And JS engines storing strings as UTF-16 is more expensive anyway, so the runtime win here probably isn't as big (though open to evidence to the contrary!)
Diffstat (limited to 'integration/snapshots/code-simplification-neql-define.hmr.debug.js')
0 files changed, 0 insertions, 0 deletions