diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2019-07-19 11:16:41 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-05 12:49:04 +0300 |
commit | afbe0b616b1e17f88bacc283a7a8fbe0bece580a (patch) | |
tree | 69c7da09a7d2e36e5f1fb7f73421b4a736c22356 /db | |
parent | d126df55fde21d2dc8eb9d5f72841a9792bca105 (diff) |
Optimize rebalancing of relative positioning
Moving of neighbour items was done recursively - this
was extremely expensive when multiple items had to be moved.
This change optimizes the code to find nearest possible gap where
items can be moved and moves all of them with single update query.
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions