2010-10-08 14:15:13 |
Gavin Panella |
description |
There are two problems:
- It iterates through every single bugtask to which the user is
subscribed,
- For each bugtask it calls bugtask.bug..default_bugtask, which
executes a database query (or two, if the bug is not already
prejoined).
These problems can probably be addressed with careful use of a
slice-aware pre_iter_hook in DecoratedResultSet. |
There are two problems:
- It iterates through every single bugtask to which the user is
subscribed,
- For each bugtask it calls bugtask.bug.default_bugtask, which
executes a database query (or two, if the bug is not already
prejoined).
These problems can probably be addressed with careful use of a
slice-aware pre_iter_hook in DecoratedResultSet.
|
|