Skip to content

Untyped array reflection functions#1300

Merged
Simn merged 4 commits intoHaxeFoundation:masterfrom
Aidan63:faster-callables
Jan 30, 2026
Merged

Untyped array reflection functions#1300
Simn merged 4 commits intoHaxeFoundation:masterfrom
Aidan63:faster-callables

Conversation

@Aidan63
Copy link
Contributor

@Aidan63 Aidan63 commented Jan 30, 2026

Profiling showed that the __Field function on arrays was taking a very long time due to it needing to expand a templated callable for every function closure.
With this change the functions returned by __Field are dynamic based instead of typed to reduce template expansions.

@Simn Simn merged commit 21d2df8 into HaxeFoundation:master Jan 30, 2026
120 checks passed
@Aidan63 Aidan63 deleted the faster-callables branch January 30, 2026 22:11
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.

2 participants