Skip to content

Jitted function is fast to complete computations, but slow to return #17876

Answered by jakevdp
throwaway0123456 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the lineax computation doesn’t contribute to the function output, so the compiler eliminates it.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jakevdp
Comment options

Answer selected by throwaway0123456
Comment options

You must be logged in to vote
2 replies
@jakevdp
Comment options

@throwaway0123456
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants