rocksdb
rocksdb copied to clipboard
micro optimizations
A collection of micro optimization changes:
- allocate control block and PointLockManager in one go
- save evaluating an if condition
- save an if condition that is always true
- save an atomic increment for a shared_ptr copy
- avoid using std::list for allocating 1 or 2 strings
- realign data members to make struct slightly smaller
- remove unused forward declaration
Just micro optimizations. None of these changes is expected to have an impact on performance beyond the expected error margin.