I tend to avoid the each methods unless there's a scoping benefit and a low likelihood of being in a critical path. Since this is a low level function, stick to a `for` loop.