Skip to content

Implement lookup-table-based rectangle approximation.#161

Open
Veeno wants to merge 2 commits into
RLBot:masterfrom
Veeno:RectUtil
Open

Implement lookup-table-based rectangle approximation.#161
Veeno wants to merge 2 commits into
RLBot:masterfrom
Veeno:RectUtil

Conversation

@Veeno
Copy link
Copy Markdown

@Veeno Veeno commented May 30, 2026

Rectangle approximation using a precomputed lookup table has been implemented, for use in MakeFakeRectangleString. Even though this method produces a string of length rows+cols-1, the ratio limit in table precomputation is based on rows*cols because this produces a better ratio value distribution for a given lookup table size.

An additional accompanying unit test has also been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant