You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
skip is not cheap (FreeList::Iterator::skip) because it's not lazy, it reads every value while moving to the nth position to figure out whether a slot is occupied or not. Skipping over a few thousand elements may be impossible because gas will be consumed earlier.
~30TGas to skip 300 elements
So if you have 10k accounts in the map, you can't practically skip 2-3k accounts, e.g. you can't view/print most of the map.
The text was updated successfully, but these errors were encountered:
skip
is not cheap (FreeList::Iterator::skip
) because it's not lazy, it reads every value while moving to the nth position to figure out whether a slot is occupied or not. Skipping over a few thousand elements may be impossible because gas will be consumed earlier.~30TGas to skip 300 elements
So if you have 10k accounts in the map, you can't practically skip 2-3k accounts, e.g. you can't view/print most of the map.
The text was updated successfully, but these errors were encountered: