Harbol icon indicating copy to clipboard operation
Harbol copied to clipboard

[map] reduce/optimize iteration and mask.

Open assyrianic opened this issue 6 months ago • 0 comments

https://github.com/assyrianic/Harbol/blob/883313f8544ef7b49bb70121e20c80a6e260e34f/map/map.c#L77

`(i = (i+1 >= mask)? ((i+1) & mask) : i+1)`
this is slower than just `i = ((i+1) & mask)`

assyrianic avatar Aug 05 '24 07:08 assyrianic