forked from StudioInfinity/dyna3
Store elements and regulators without keys
Since we're no longer using storage keys to refer to elements and regulators, we don't need to store these items in keyed collections anymore. To keep element and regulator pointers in `BTreeSet` collections, we implement `Ord` for `Serial` trait objects. As a bonus, this lets us turn the element-wise regulator collections back into `BTreeSet`.
This commit is contained in:
parent
8a86038de0
commit
c6b628d424
5 changed files with 74 additions and 50 deletions
|
@ -16,7 +16,6 @@ lazy_static = "1.5.0"
|
|||
nalgebra = "0.33.0"
|
||||
readonly = "0.2.12"
|
||||
rustc-hash = "2.0.0"
|
||||
slab = "0.4.9"
|
||||
sycamore = "0.9.0-beta.3"
|
||||
|
||||
# The `console_error_panic_hook` crate provides better debugging of panics by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue