Re:Rust is now overall faster than C in benchmarks
by huhnmonster on Monday January 04, 2021 @03:09AM
(#25628780)
Do 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
Re:Rust is now overall faster than C in benchmarks
by dnautics on Monday January 04, 2021 @04:35AM
(#25629227)
Well, 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
https://gist.github.com/ityonemo/f34e0d3b4891f481863980a3142...
Note it could also be platform dependent. I'll give it a whirl on my own (new) machine.