Changes between Version 41 and Version 42 of DeveloperGuidelines/Optimisation


Ignore:
Timestamp:
06/18/10 08:48:33 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Optimisation

    v41 v42  
    139139=== Don't loop over Queries ===
    140140
    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:
    142142
    143143{{{
     
    154154}}}
    155155
    156 It could be hidden...:
     156Sometimes it is not as easy to see as in the above example - it could be hidden:
    157157
    158158{{{
    159 for x in y
     159for x in y:
    160160  id = some_function(x)
    161161  if id:
     
    176176DeveloperGuidelines
    177177DeveloperGuidelines
     178DeveloperGuidelines