diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-16 19:41:16 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-16 19:43:08 -0600 |
commit | e732861961feca370d6472b5bd64242faaa2fab6 (patch) | |
tree | 7055b95b064b006e3b7daa8363bc22f82945a27c /HACKING | |
parent | f3db1bb123ee4c61e7bb7e8a0c671d831a1ce990 (diff) |
Make packages view much more efficient
The len() call was killing performance, especially in the default click-thru
case where we show the packages list without any filtering (only sorting).
Also use a well-placed select_related() to further drop the query count. As
noted by the TODO, there is still more that can be done here to improve
performance.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions