Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more options for size #54

Open
nsajko opened this issue May 4, 2024 · 0 comments · May be fixed by #107
Open

more options for size #54

nsajko opened this issue May 4, 2024 · 0 comments · May be fixed by #107

Comments

@nsajko
Copy link
Collaborator

nsajko commented May 4, 2024

  1. Perhaps add a new struct StaticSizeArray which would have size as a type parameter instead of a field.

  2. Perhaps parameterize FixedSizeArray by the element type of the size field. I'm not sure how likely this is to be useful, but I know that GPU programs tend to avoid 64-bit values, so perhaps this would be a desired next step after support GenericMemory by making the storage type a parameter #52.

nsajko added a commit to nsajko/FixedSizeArrays.jl that referenced this issue Feb 12, 2025
Currently only `Int` values may be contained in the `size` field. This
PR additionally allows values of any singleton type that subtypes
`Integer`.

Fixes JuliaArrays#54
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 a pull request may close this issue.

1 participant