Skip to content

feat: allow for runtime length arrays of sorts and selects#22250

Open
nventuro wants to merge 1 commit intomerge-train/fairiesfrom
nico/f-540-allow-runtime-length-note-getter-sorts-and-selects
Open

feat: allow for runtime length arrays of sorts and selects#22250
nventuro wants to merge 1 commit intomerge-train/fairiesfrom
nico/f-540-allow-runtime-length-note-getter-sorts-and-selects

Conversation

@nventuro
Copy link
Copy Markdown
Contributor

@nventuro nventuro commented Apr 1, 2026

Iterating over len is only possible if the length is known at compile time. By iterating over max_len instead with an if we support runtime-length arrays, with equivalent performance if the length is known at runtime (as the dead if branches are removed).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant