Expanded Loops | Ugly and Efficient! 👺 | Part 1

So, a few weeks ago, I started working on a research project that involved writing a chemical reaction simulator with tons of loops and calculations. The complexity of the code grew exponentially as the problem’s variables and dimensions increased. I tried optimizing the code itself, yet I wasn’t satisfied enough. So as any intelligent engineer would do, I decided to dive deep and discover what exactly happens to the code we write in a high-level language....

February 24, 2023 Â· 5 min Â· 921 words Â· Me