6
Let’s assume that the user type the value 40391, so I need to add incrementally all values from 1 up to 40390, which results in the value 815696245.
Today I do it with a simple for
but I realized that the performance is not the best... Is there any way to make it more performatic ?