Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove WebAssembly stuff because it is not much faster than pureJs #95

Merged
merged 1 commit into from
Dec 27, 2019

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.

2 participants