Closed dapplion closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.
@wemeetagain Could you take a look?
Deprecated this function with latest ssz release
Describe the bug
gindexIterator()
showed in the profile as one of the most expensive self functions. Time listed here represents 5% of total CPU time. See source of the file:app/node_modules/@chainsafe/persistent-merkle-tree/lib/gindex.js
Maybe is there a cheaper way to iterate than using this iterators?