-
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.
Improvements in throughput and allocations * Eliminated the old `find_longest_symbol` stuff and rewrote `compress_count` to just use `compress`, 5x speedup for the train benchmark * A couple of allocations tricks, including replacing `vec![Symbol::EMPTY; N]` with `vec![0u64; N]` and then transmuting, saving `N` calls to `Symbol.clone` and replacing 2D with 1D vector (allows us to use the `vec!` specialization for creating a vector of all zeros)
- Loading branch information
Showing
10 changed files
with
187 additions
and
139 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,17 @@ name: CI | |
|
||
on: | ||
push: | ||
branches: [ "develop" ] | ||
pull_request: { } | ||
workflow_dispatch: { } | ||
branches: ["develop"] | ||
pull_request: {} | ||
workflow_dispatch: {} | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: 'build' | ||
name: "build" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -40,7 +40,6 @@ jobs: | |
uses: mozilla-actions/[email protected] | ||
- name: Rust Compile Cache Config | ||
shell: bash | ||
# echo "CARGO_LOG=cargo::core::compiler::fingerprint=info" >> $GITHUB_ENV | ||
run: | | ||
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV | ||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
|
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.