Kampfkarren / Kampfkarren/ultimate-list

Add stateful version of `getter` dimensions based on accumulating state

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Luau
Stars
42
Forks
5
Avg merge
2m
Merged PRs (30d)
1

Description

Most use cases of grids with complex items want an accumulating state + wrapping etc. We ought to provide a helper for this, since the performance gains of not doing so (avoiding O(n) canvas size fetch) are moved onto the user. The docs would have sufficient warnings of the performance implications.

There is also a special case of this where the data you are providing is append-only. If we are informed this is the case, then the array changing makes the calculations O(number of elements added) instead of O(number of elements in the data source).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.