Commit 8a945814 authored by Brian White's avatar Brian White
Browse files

string_decoder: optimize write()

By limiting property getting/setting to only where they are
absolutely necessary, we can achieve greater performance
especially with small utf8 inputs and any size base64 inputs.

PR-URL: https://github.com/iojs/io.js/pull/1209


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarNicu Micleușanu <micnic90@gmail.com>
Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent 3d46fefe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment