12 Apr
2009
12 Apr
'09
1:37 a.m.
On Sat, Apr 11, 2009 at 8:34 PM, Dan McGee <dan@archlinux.org> wrote:
It's performance improvement day today. For non-superusers, we were hitting the database twice per comment on a package- once to get the UID, and once to check the owner of the comment. The best part is we already knew the owner of the comment, and we only need to get our own UID once.
For viewing a package like yaourt, this cuts a single pageview from over 700 queries to around 18, which is still not great but a pretty big improvement.
Signed-off-by: Dan McGee <dan@archlinux.org> ---
Sorry. This patch **IS NOT** good, I sent a draft one instead of the real one. That will be coming shortly.