5 ms·
What it means is that since i as the variable is monotonically increasing, an array indexing operation that is in the loop body can be replaced with an incremen
by anttihaapala 2y ago
What it means is that since i as the variable is monotonically increasing, an array indexing operation that is in the loop body can be replaced with an incrementing pointer instead, which eliminates quite a lot of code. An example here: https://pvs-studio.com/en/blog/posts/cpp/0374/ https://pvs-studio.com/en/blog/posts/cpp/0374/