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
Most of our data structure libraries are represented by arrays internally, and some have a toArray function which returns the underlying data. We need to add a paginated version of toArray which accepts startIndex and length parameters and returns a slice of the underlying array. This will enable partial lookups when a full lookup would be gas-prohibitive.
Apply this to all current and pending data structures (see data-structures branch). Also apply to contracts that use these data structures, such as the Enumerable extensions.
The text was updated successfully, but these errors were encountered:
Most of our data structure libraries are represented by arrays internally, and some have a
toArray
function which returns the underlying data. We need to add a paginated version oftoArray
which acceptsstartIndex
andlength
parameters and returns a slice of the underlying array. This will enable partial lookups when a full lookup would be gas-prohibitive.Apply this to all current and pending data structures (see
data-structures
branch). Also apply to contracts that use these data structures, such as theEnumerable
extensions.The text was updated successfully, but these errors were encountered: