mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-10 04:15:54 +00:00
dbabe7e0a7
Because EthBlock is quite large, the stack usage that results from the multiple copies (temporary and not) present in the import command is larger than it should be - this PR moves some of that data to a closure environment allocated once per EthBlock - a larger restructuring of the code is due but in the meantime, this simple change speeds up garbage collection a little bit.