Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-07-19 11:16:41 +0300
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-08-05 12:49:04 +0300
commitafbe0b616b1e17f88bacc283a7a8fbe0bece580a (patch)
tree69c7da09a7d2e36e5f1fb7f73421b4a736c22356 /db
parentd126df55fde21d2dc8eb9d5f72841a9792bca105 (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