Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use typed arrays in Javascript runner. #382

Merged
merged 1 commit into from
Jul 31, 2018
Merged

Conversation

vext01
Copy link
Member

@vext01 vext01 commented Jul 31, 2018

Ah ha! We can actually used typed arrays in JavaScript since there is a Float64Array. I've checked that both V8 and spidermonkey (only the former of which is part of the main experiment) support this, and they do.

Tested using the warmup experiment running only V8 (we don't have an iterations running for spidermonkey).

Info about Float64Array here:
https://blog.codingbox.io/exploring-javascript-typed-arrays-c8fd4f8bd24f

OK?

Fixes #382

V8 and spidermonkey support this API at least.
@ltratt ltratt merged commit 8499097 into master Jul 31, 2018
@ltratt ltratt deleted the more-type-stability branch July 31, 2018 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants