src: fix gc heuristic for external twobyte strings
Large external two-byte strings reported their character length instead of their byte length, throwing off the garbage collector heuristic by a factor of two. PR-URL: https://github.com/iojs/io.js/pull/1042 Reviewed-By:Trevor Norris <trev.norris@gmail.com>
parent
f5b7e182
Please register or sign in to comment