-
Type:
Bug
-
Status: Open
-
Priority:
Normal
-
Resolution: Unresolved
-
Component/s: Local/Compaction, Local/SSTable
-
Labels:None
-
Bug Category:Degradation - Performance Bug/Regression
-
Severity:Normal
-
Complexity:Normal
-
Discovered By:Code Inspection
-
Platform:All
-
Impacts:None
Most vints occupy significantly fewer than 8 bytes, and most buffers have >= 8 bytes spare, in which case we can construct the relevant bytes in a register and memcpy them to the correct position. Since we read and write a lot of vints, this waste is probably measurable, particularly during compaction and flush, and can probably be considered a performance bug.