Commit graph

1 commit

Author SHA1 Message Date
Jan Provaznik
afbe0b616b 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.
2019-08-05 17:49:04 +08:00