gg-flip icon indicating copy to clipboard operation
gg-flip copied to clipboard

Feature request: wasm version?

Open breathe opened this issue 7 years ago • 2 comments

breathe avatar Jan 20 '18 18:01 breathe

Wasm is known to be more performant than JavaScripts. The wasm version could also decrease the file size which could help in cases where users need to flip a large number of bits from mobile networks. It could also reduce parse time — and given recent improvements to the wasm parsing speed on Firefox (https://hacks.mozilla.org/2018/01/making-webassembly-even-faster-firefoxs-new-streaming-and-tiering-compiler/) — perhaps could even enable a streaming bit flipping model by chunking up the switch in a way that allows the bit flipping request to be satisfied immediately and recompiled as the cases are streamed in to make multiple successively faster versions available as the download progresses.

breathe avatar Jan 20 '18 18:01 breathe

Why not?

Btw these are some really good ideas. Thank you. I will ship WASM support soon

avinassh avatar Jan 21 '18 09:01 avinassh