4 ms·
But how much? Do you have an idea why?
by adamnemecek 6y ago
But how much? Do you have an idea why?
- dnautics 6y agoHonestly I have no idea. You can try it yourself, or put it through godbolt: https://gist.github.com/ityonemo/f34e0d3b4891f481863980a31426f1ca https://gist.github.com/ityonemo/f34e0d3b4891f481863980a3142... Note it could also be platform dependent. I'll give it a whirl on my own (new) machine.
- huhnmonster 6y agoDo you think that it may be caused by use of comptime? I have not looked at the benchmark implementations, but that kind of struck me as a reason
- dnautics 6y agoWell, I ran it again and now it's 10% slower than rust (the best rust impls have gotten better since I last tried); I think there's a simd optimization I'm missing, I'm not doing simd operations in the "pairs" phase