summaryrefslogtreecommitdiff
path: root/src/string_bytes.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-01-30 15:05:28 +0300
committerFedor Indutny <fedor@indutny.com>2015-01-30 17:41:34 +0300
commitc6367e7f2a68b2418a98dfe9e829f17f62ba403a (patch)
tree742265232c082d1f37a1380c50d9c6086941224d /src/string_bytes.h
parent7604e6decc441a1110567e98f20f7ee122179d54 (diff)
downloadandroid-node-v8-c6367e7f2a68b2418a98dfe9e829f17f62ba403a.tar.gz
android-node-v8-c6367e7f2a68b2418a98dfe9e829f17f62ba403a.tar.bz2
android-node-v8-c6367e7f2a68b2418a98dfe9e829f17f62ba403a.zip
node: speed up ParseEncoding
Handle most popular cases in a trie-style, branching on a first character. Remove useless HandleScope which was only eating time without producing any value. PR-URL: https://github.com/iojs/io.js/pull/664 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/string_bytes.h')
0 files changed, 0 insertions, 0 deletions