Skip to main content
2 events
when toggle format what by license comment
Jul 22, 2023 at 1:56 comment added OverLordGoldDragon I don't know if branch prediction-based improvement is possible, the data is randomized. Sorting is surely much slower than argmax, and not just per log N. Vectorization, perhaps, though should be up to x4 difference on single core from what I've read. I don't know how to make godbolt work but I added a C excerpt.
Jul 22, 2023 at 1:27 history answered J_H CC BY-SA 4.0