mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
Speed up big chainspec json(~1.5 GB) load (#10137)
* Speed up chainspec json load * Update client/chain-spec/src/chain_spec.rs * Update client/chain-spec/src/chain_spec.rs * Update client/chain-spec/src/chain_spec.rs * Load the chainspec through `mmap` Co-authored-by: icodezjb <icodezjb@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Jan Bujak <jan@parity.io>
This commit is contained in:
@@ -22,3 +22,4 @@ serde_json = "1.0.68"
|
||||
sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" }
|
||||
sc-telemetry = { version = "4.0.0-dev", path = "../telemetry" }
|
||||
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
||||
memmap2 = "0.5.0"
|
||||
|
||||
Reference in New Issue
Block a user