Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Column-Oriented Row Reduction (bitmath.blogspot.com)
11 points by g0xA52A2A on April 10, 2023 | hide | past | favorite | 2 comments


Its not clear to me what the advantage is. The regular algorithm does not have a conditional in the inner loop and runs over data in a fairly cache friendly was. It's also O(N^3). What's the benefit here?


As mentioned in the post, the conditional is trivially converted to a cmov or a bitwise expression. A column-oriented algorithm makes sense when the data is naturally laid out with bitpacked columns.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: