Status: Untriaged
Owner: ----
New issue 4383 by [email protected]: TextEncoder.encode is slow
https://code.google.com/p/v8/issues/detail?id=4383
Version: V8 4.4.63.29
OS: Ubuntu
Architecture: x86_64
We have a stringToUtf8ByteArray method in Closure:
https://github.com/google/closure-library/blob/master/closure/goog/crypt/crypt.js#L110.
I was going to try to replace it with the native TextEncoder.encode method
in browsers that support it, but I found that the native method is
significantly (~97%) slower than our implementation in Chrome.
Here is a jsperf that shows the comparison:
http://jsperf.com/nativeencodevsmanual
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.