Mind-blowing optimization
Jun 30, 2022
Paolo Raéz Sánchez
Paolo Raéz Sánchez
Team Leader

Despite this, there are circumstances in which optimizing certain sections of our code can be worthwhile for the performance increase that it implies in our app.

As the main thread of the session, we face the matrix multiplication algorithm. With the first version of the code, the program takes 6h to run. After up to 10 iterations in which we improve the code with different techniques, our program runs in 0.4s. Impressive, isn't it?