Changes between Version 41 and Version 42 of DeveloperGuidelines/Optimisation
- Timestamp:
- 06/18/10 08:48:33 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Optimisation
v41 v42 139 139 === Don't loop over Queries === 140 140 141 ...if you can avoid it . Sometimes it is not as easy to see as in the following example:141 ...if you can avoid it: 142 142 143 143 {{{ … … 154 154 }}} 155 155 156 It could be hidden...:156 Sometimes it is not as easy to see as in the above example - it could be hidden: 157 157 158 158 {{{ 159 for x in y 159 for x in y: 160 160 id = some_function(x) 161 161 if id: … … 176 176 DeveloperGuidelines 177 177 DeveloperGuidelines 178 DeveloperGuidelines