-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
The source this map was taken from has a scanLimit() functionality.
Since the Map is balanced and sorted, having a scan allows someone to paginate through the map which is especially useful for larger data sets or in performance restricted environments. It's one of the super powers of the data structure.
If you'd like to modify the API, I'd recommend keeping:
- a start point to iterate from
- an end point (to stop iterating)
- direction (forward/backward) of pagination
- a limit (to force the user to use pagination and think in terms of ICP canister resource limits)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels