-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PoC] feat: moving to shared store references (#680)
* chore: Replace CacheMap with Elsa's FrozenMap - Removed the `src/cache_map.rs` file and `cache_map` module from the codebase. - Replaced the use of `CacheMap` with `FrozenMap` from the `elsa` crate in the `PoseidonCache` and `Store` structures across multiple files. - Added `elsa` dependency, version `1.9.0`, with `indexmap` feature to the `Cargo.toml` file. - `CacheMap` imports throughout the codebase have been removed and replaced with imports of `elsa::sync::FrozenMap`. * refactor: use elsa::sync_index_set::FrozenIndexSet * fix: remove uneeded mutable references to the store * refactor: convert store HashMap to FrozenMap * fix: remove a few uneeded references * fix: adapt hydration to not require &mut * fix: remove uneeded mutability modifiers - Removed mutability modifier from `store` variable * refactor: Refactor code to replace mutable Store references with immutable ones * adapt LEM infra * Removed exclusive reference to `hydrate_z_cache` in LEM * more LEM simplifications * fix: speed up hydration * eliminate 'cloned' call on hydration; recover parallel hydration on LEM store --------- Co-authored-by: Arthur Paulino <arthurleonardo.ap@gmail.com> Co-authored-by: Gabriel Barreto <gabriel.aquino.barreto@gmail.com>
- Loading branch information
1 parent
d65a71c
commit a5101fd
Showing
37 changed files
with
388 additions
and
757 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
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
Oops, something went wrong.