Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tags: AssemblyScript/as-float

Tags

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Browser support + marginally smaller modules (#1)

* Shave ~20 bytes from math.js file

This is just a small micro-optimization using converge and inline.always
to remove a few bytes off of the final .wasm size. Sadly, we can't use
"shrinkLevel": 3 since that gives imprecise results.

* Fix the message for the 10^-5 test

This confused me for a couple minutes when testing out "shrinkLevel": 3.

* Use `fetch` and `WebAssembly.instantiateStreaming`` to support browsers

Browsers don't have Node.js's Buffer, nor do they have any reasonable
way to decode base64. Luckily, `WebAssembly.instantiateStreaming` allows
using the results of `fetch`, which in turn can accept base64 data URIs.

1.0.0

Toggle 1.0.0's commit message
first commit

Morty Proxy This is a proxified and sanitized view of the page, visit original site.