9 ms·
A few Cockroach Labs engineers are hanging out on this thread - happy to answer any questions you might have about how we made Go go faster.
by jordanlewis 7y ago
A few Cockroach Labs engineers are hanging out on this thread - happy to answer any questions you might have about how we made Go go faster.
- sujayakar 7y agodoes Go's compiler emit SIMD instructions? it'd be cool to see the disassembly for the final, column order version since that loop would vectorize well. the same question goes for the speed-of-light benchmark -- there may be room to push even further there if it's doing a single multiply at a time.
- ryanworl 7y agoIt does not. You can use something like Avo to lighten the load a bit of writing those assembly routines. It takes care of register allocation, struct fields, and the necessary function stubs.