Re:Why Is SQLite Coded in C? (2017)
by igouy on Tuesday March 20, 2018 @12:57PM
(#16630372)
Someone has repeatedly commented on /r/rust/ that differences are due not so much to SIMD but iirc to not triggering the same LLVM loop unrolling.
[ Parent
| on HN ]
Re:Why Is SQLite Coded in C? (2017)
by steveklabnik on Wednesday March 21, 2018 @03:52PM
(#16641700)
I think you're confusing loop unrolling and autovectorization. That said, it's kinda moot, once SIMD is stable, we'll find out :)
>> I think you're confusing loop unrolling and autovectorization. <<
Here's exactly what I was told -- "This was achieved by manually unrolling a 10-step loop, which compiler apparently could not optimize."