mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Speed up storage iteration from within the runtime (#13479)
* Speed up storage iteration from within the runtime * Move the cached iterator into an `Option` * Use `RefCell` in no_std * Simplify the code slightly * Use `Option::replace` * Update doc comment for `next_storage_key_slow`
This commit is contained in:
@@ -29,7 +29,7 @@ parking_lot = { version = "0.12.1", optional = true }
|
||||
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
||||
thiserror = { version = "1.0.30", optional = true }
|
||||
tracing = { version = "0.1.29", optional = true }
|
||||
trie-db = { version = "0.25.0", default-features = false }
|
||||
trie-db = { version = "0.26.0", default-features = false }
|
||||
trie-root = { version = "0.17.0", default-features = false }
|
||||
sp-core = { version = "7.0.0", default-features = false, path = "../core" }
|
||||
sp-std = { version = "5.0.0", default-features = false, path = "../std" }
|
||||
@@ -38,7 +38,7 @@ schnellru = { version = "0.2.1", optional = true }
|
||||
[dev-dependencies]
|
||||
array-bytes = "4.1"
|
||||
criterion = "0.4.0"
|
||||
trie-bench = "0.35.0"
|
||||
trie-bench = "0.36.0"
|
||||
trie-standardmap = "0.15.2"
|
||||
sp-runtime = { version = "7.0.0", path = "../runtime" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user