What’s your secret in your uncanny ability to optimize code?

From a faster differential equation solver to faster sorting algorithm, people working with Julia have uncanny ability to optimize things with deceptively simple optimizations that are, indeed, the work of Julian in bringing them to light. What are your secret and how can I use them myself?

1 Like

Lots of practice on problems that matter to you.

1 Like

Oops. Okay. I tried not to derail the topic. Now I can’t delete my topic. Oops. Well, whatever.

Please do search before starting new topics, we’ve had lots of Performance discussions over the years. If there is a specific problem you’re facing, you can open a topic in that performance category. Otherwise, the best general advice is collated at

https://docs.julialang.org/en/v1/manual/performance-tips/