Skip to content

Commit

Permalink
Mention WebAssembly in README, fixes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Feb 6, 2018
1 parent eb03ce2 commit 9dec515
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ API
* Long#**xor**(other: `Long | number | string`): `Long`<br />
Returns the bitwise XOR of this Long and the given one.

WebAssembly support
-------------------

[WebAssembly](http://webassembly.org) supports 64-bit integer arithmetic out of the box, hence a [tiny WebAssembly module](./src/wasm.wast) is used to compute operations like multiplication, division and remainder more efficiently (slow operations like division are around twice as fast), falling back to floating point based computations in JavaScript where WebAssembly is not yet supported, e.g., in older versions of node.

Building
--------

Expand Down

1 comment on commit 9dec515

@dasa
Copy link

@dasa dasa commented on 9dec515 Jul 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasm.wast was renamed to wasm.wat at f572e3a

Please sign in to comment.