Closed TAdev0 closed 3 months ago
@har777 we discussed the fact that FreeOffset
field is of type *uint64
, its actually required with our current impl of GetDictionary
, as we return a copy. If i just change it for a uint64
it doesnt work anymore and any offset incrementation is done on a local copy
This PR modifies the fields of
ZeroDictionary
struct to have only pointers . BecauseGetDictionary
actually creates a copy of the dict :we will gain in performance in storing only an address for the whole mapping in the
ZeroDictionary