Commit 826cde86 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

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: default avatarTrevor Norris <trev.norris@gmail.com>
parent f5b7e182
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