You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rebalancing algorithm can be optimized for speed and to reduce number of slabs accessed/loaded.
Check right sibling first (instead of left sibling) to see if it has enough data to lend
Check left sibling only if (instead of always) the right sibling doesn't have enough data to lend. The benefit from borrowing from the larger sibling was maybe not worth the extra effort of accessing 2 slabs.
Move data within the right sibling's underlying array after it lends so it has capacity for future ops
The text was updated successfully, but these errors were encountered:
fxamacker
changed the title
Optimize rebalancing algorithm
SAT: Optimize rebalancing algorithm
Jul 16, 2021
The rebalancing algorithm can be optimized for speed and to reduce number of slabs accessed/loaded.
The text was updated successfully, but these errors were encountered: