2 ms·
There are several `do {} while ()` loops in the SimSIMD codebase, mostly in SVE [1]. One of the reasons I don't like putting them in many places - mostly in cas
by ashvardanian 3y ago
There are several `do {} while ()` loops in the SimSIMD codebase, mostly in SVE [1]. One of the reasons I don't like putting them in many places - mostly in cases with complex conditions, but also to avoid adding one more level of nesting for that scope.
[1]: https://github.com/ashvardanian/SimSIMD/blob/f8ff727dcddcd142e7e8dece33c43801af96c210/include/simsimd/binary.h#L118 https://github.com/ashvardanian/SimSIMD/blob/f8ff727dcddcd14...