On 6/16/17 7:22 AM, Henri Sivonen wrote:
My hypothesis is that the JSC/WebKit overhead of returning a string
from C++ to JS is much lower than SpiderMonkey/Gecko overhead or the
V8/Blink overhead.

It definitely is. JSC and WebKit use the same exact refcounted strings, last I checked, so returning a string from WebKit to JSC involves a single non-atomic refcount increment. It's super-fast.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to