Created
September 7, 2018 12:22
-
-
Save Datseris/043b96f2143492cd54aa9a3fcc5a1623 to your computer and use it in GitHub Desktop.
Julia tuples have performance hinderances for sizes > 32
This file contains 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
f(t) = +(t...,) | |
@code_typed f(ntuple(identity, 5)) # what you expect | |
@code_typed f(ntuple(identity, 18)) # something is going on | |
@code_typed f(ntuple(identity, 33)) # _apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment