Skip to content

Conversation

@gfx
Copy link
Member

@gfx gfx commented Dec 27, 2019

WebAssembly implementation (#26) was an experiment, which has proved that Wasm for UTF-8 encode/decode is not much faster than pureJS. Instead, the code is complex and hard to maintain.

I've decided to remove the Wasm impl to keep the code clean and easy to maintain.

@codecov-io
Copy link

codecov-io commented Dec 27, 2019

Codecov Report

Merging #95 into master will increase coverage by 0.21%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   98.33%   98.55%   +0.21%     
==========================================
  Files          16       15       -1     
  Lines         961      898      -63     
  Branches      196      189       -7     
==========================================
- Hits          945      885      -60     
+ Misses         16       13       -3
Impacted Files Coverage Δ
src/index.ts 100% <ø> (ø) ⬆️
src/Encoder.ts 97.84% <ø> (-0.07%) ⬇️
src/Decoder.ts 99.13% <ø> (-0.01%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccc75ba...9d034fe. Read the comment docs.

@gfx gfx merged commit 29b9385 into master Dec 27, 2019
@gfx gfx deleted the remove_wasm branch December 27, 2019 01:20
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.

3 participants