News for hackers. Stuff that matters.
Re:1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in... by haxen on Saturday March 09, 2024 @02:16PM (#39654025)
The temperature fields are interleaved with name fields, so I don't think you'd get any extra benefit from SSE. Also, since the temperature field is variable-sized, it would probably not pay off even if it was stored by column.

SSE was successfully applied to finding the delimiter between the name and the temperature, though.

Re:1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in... by dzaima on Saturday March 09, 2024 @03:08PM (#39654366)
It can still be beneficial - yes you need to load the temperatures individually, but there's enough operations afterward to make it worth it.