News for hackers. Stuff that matters.
Re:Attention at Constant Cost per Token via Symmetry-Aware T... by nine_k on Wednesday February 04, 2026 @09:02PM (#46894698)
Integer multiplication x * y can be trivially done in O(k): k = logâ‚‚(min(x, y)). This is because we can do addition in constant time, adding all bits in parallel.

By combining many more adding units, we can do (fixed-size) multiplication in constant time, too: https://en.wikipedia.org/wiki/Dadda_multiplier

There are no comments on this comment yet.