4 ms·
I imagine code like this gets auto-vectorized either right from the start or after Hotspot detects a hotspot
by gfody 3y ago
I imagine code like this gets auto-vectorized either right from the start or after Hotspot detects a hotspot
- haxen 3y agoI wonder what you mean here. What code exactly would get auto-vectorized? Parsing the temperature surely not, since it's not in an array of fixed-size fields.
- gfody 3y agoonce you've done the work to implement parsing as branchless bitwise operations on integers I think that code can be extended automatically to operate on larger registers
- haxen 3y agoI think it would work if that was the only code in the loop. But the loop spans several more nontrivial operations, including hashtable insertion.