-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Compression Performance (#36)
* Add `rustc-hash` feature * Add features section to readme * Fix compression with `rustc-hash` * Add tests for `rustc-hash` on CI * Remove `cargo-deny` deny section * Expose `rustc-hash` to python binding * Expose `rustc-hash` feature on `lz-str-wasm`` * Add ability to specify features via makefile * Avoid copy in `lz-str-wasm` compress interface * fmt * Add note about removing `IntoWideIter` for `Vec` * Reduce hash lookups with entry api * Reorganize produce_w order to avoid double map lookup
- Loading branch information
1 parent
4eb08c5
commit 8959ebf
Showing
13 changed files
with
89 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
export WASM_FEATURES = | ||
|
||
.PHONY: build-wasm | ||
|
||
# --reference-types | ||
|
||
build-wasm: | ||
wasm-pack build --target nodejs bindings/lz-str-wasm | ||
wasm-pack build --target nodejs bindings/lz-str-wasm --features=$(WASM_FEATURES) | ||
cd bindings/lz-str-wasm && python inject-inline-js.py | ||
|
||
build-wasm-browser: | ||
wasm-pack build --target web bindings/lz-str-wasm | ||
wasm-pack build --target web bindings/lz-str-wasm --features=$(WASM_FEATURES) | ||
cd bindings/lz-str-wasm && python inject-inline-js.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters