4 ms·When I first touched this around C++14 or so, I used recursion. It resulted in even worse code.by a_t48 2y agoWhen I first touched this around C++14 or so, I used recursion. It resulted in even worse code.