Mercurial > kallithea
comparison COPYING @ 5763:20a094053606
pullrequests: optimize iteration over reviewers - avoid fetching users one by one
.reviewers was mainly used for iteration and then dereferencing .user one by
one. That gave lots of queries and round trips to the database and was slow.
Instead, do something else. Either query directly or use a new method for
getting the list of reviewer users.
Reviewers will explicitly be shown in the order they have been added (assuming
database id's are monotonic).
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 14 Mar 2016 16:17:46 +0100 |
parents | a671db5bdd58 |
children |
comparison
equal
deleted
inserted
replaced
5762:d36dc6617d87 | 5763:20a094053606 |
---|