-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Improve performance of grapheme frequency calculation (#133)
* chore: add flamegraph file to gitignore * chore(deps): Add `rayon` and `tempdir` dependencies. * feat(unstable): Add unstable command * chore: Refactor many uses of `Rc` to `Arc` as groundwork for parallelization * chore: Satisfy `clippy` by requiring `Send + Sync` in several places and replacing `filter_map` with `filter` and `map` in two places. * chore: Remove duplicate comment. * perf(grapheme_freq): Dramatically improve performance for grapheme frequency calculation by parallelizing with `rayon` and switching unicode segmentation/clustering crates. * chore: cargo fmt
- Loading branch information
Showing
4 changed files
with
112 additions
and
68 deletions.
There are no files selected for viewing
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
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