Repository navigation
Conversation
This was referenced Nov 12, 2026
Covers 32 and 64 components, same and mixed types, Tuple and NamedTuple. Operations not yet inferrable at these widths are marked broken. Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
_mapcols is a generated componentwise map that stays inferrable for any number of components, unlike Base.map on 32+ element tuples. Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
Makes StructArray(cols) inferrable for 32+ components. Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
similar, copy, reshape, deleteat!, keepat!, pop!, popfirst!, refarray, replace_storage and colmetadata become inferrable for 32+ components. Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
nhz2
reviewed
Nov 15, 2026
nhz2
approved these changes
Nov 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I recently encountered large performance issues with wide structarrays, and remembered a PR #358 from @KristofferC – it does fix some of those. Still, that PR doesn't fix everything, as it doesn't seem to apply the approach consistently.
Here is a PR that:
get_ithfunction, here I just extract the core and apply broader; 1 generated function before this PR – and still 1 generated function afterHopefully, should be quite straightforward :)