3 ms·
At a quick glance, the "absurdly fast" seems to be talking about programmer time, not cpu time. It shows four lines of code, and compares it to ~30 lines with
by bigiain 9y ago
At a quick glance, the "absurdly fast" seems to be talking about programmer time, not cpu time.
It shows four lines of code, and compares it to ~30 lines with the comment "Even with all of that boilerplate, this still only supports x86-64 machines with SSE or AVX ... "
The closing section: "Here are some extremely unscientific benchmarks which, at least, prove that this isn’t any worse than scalar iterators." suggests the final executed code probably runs at around the same speed, but the short version is _way_ easier to write and _way_ more portable.
- AstralStorm 9y agoCompared to 4 lines in Eigen it is not impressive anymore. And that thing cab also statically optimize equations. Call back when Rust grows an equivalent.