-
Notifications
You must be signed in to change notification settings - Fork 5
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
Investigate Fixed Size Arrays #32
Comments
Currently, these arrays are heap allocated, which reduced their utility for these arrays. What we really need is a static array equivalent to the C code |
Looked into this, currently the length of the array cannot be a variable, which makes things difficult for functions that need to work in 2D and 3D. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There has been some talk in the Julia issues about a fixed size (ie. compile time sized) array, which could potentially be much faster than regular arrays (whose sizes are not known until runtime) for small sizes. Flux jacobians come to mind as one place where this would be beneficial, although there may be others as well.
See discussion here: https://goo.gl/ERGCVZ
and here: https://goo.gl/YYlP1P
The text was updated successfully, but these errors were encountered: