Commit 7f1bff94 authored by icodezjb's avatar icodezjb Committed by GitHub
Browse files

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: default avataricodezjb <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarJan Bujak <[email protected]>
parent 710265a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment