Do not use `for` for performance critical computation.