node/benchmark/string_decoder
Brian White 79ad172589 string_decoder: rewrite implementation
This commit provides a rewrite of StringDecoder that both improves
performance (for non-single-byte encodings) and understandability.

Additionally, StringDecoder instantiation performance has increased
considerably due to inlinability and more efficient encoding name
checking.

PR-URL: https://github.com/nodejs/node/pull/6777
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2016-06-02 22:41:59 +10:00
..
string-decoder-create.js string_decoder: rewrite implementation 2016-06-02 22:41:59 +10:00
string-decoder.js string_decoder: rewrite implementation 2016-06-02 22:41:59 +10:00