Delweng
|
f812bdcf60
|
beacon-node/state: alloc 1more item for append case (#12832)
* beacon-chain/state/attenstation: alloc +1 items for append
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/state/eth1: alloc +1 items for append
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/state/misc: alloc +1 items for append
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/state/participation: alloc +1 items for append
Signed-off-by: jsvisa <delweng@gmail.com>
* beacon-chain/state/validator: alloc +1 items for append
Signed-off-by: jsvisa <delweng@gmail.com>
* Add some benchmarks
* Evaluate append vs copy. Apply results
* fix copy issue
* revert copy changes from a5ba8d4352f647ad384981264cb6e0553481f23b
---------
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
|
2023-10-03 20:41:55 +00:00 |
|