Hi guys! So I was wondering if anyone has gone into iterating over big dictionaries ( MapMappers)
I was wondering what you would think would be more efficient. So let's say we have a MapMapper containing 100.000 entries and it looks something like
.
You need to iterate through all of these values.
Would it be more efficient to have a separate SetMapper and for each address in the SetMapper to use a SingleValueMapper where to store the BigUInt value?
From what I know, there is quite simply no reasonable way to iterate over those 100K entries and be ok in terms of gas consumed.
Mostly what you can do is split the iteration into more transactions or find a way to avoid that iteration
From what I know, there is quite simply no reasonable way to iterate over those 100K entries and be ok in terms of gas consumed. Mostly what you can do is split the iteration into more transactions or find a way to avoid that iteration