Skip to content

Commit

Permalink
Mention WebAssembly in README, fixes dcodeIO#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

0 comments on commit 9dec515

Please sign in to comment.