[Tickets #6198] One loop less

bugs at horde.org bugs at horde.org
Sun Feb 3 23:38:13 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=6198
-----------------------------------------------------------------------
 Ticket             | 6198
 Created By         | Duck <duck at obala.net>
 Summary            | One loop less
 Queue              | Ansel
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | Ansel.diff
-----------------------------------------------------------------------


Duck <duck at obala.net> (2008-02-03 18:38) wrote:

- Don't use SELECT *
- Combine the fetchAll db driver with the loop that creates galleries
objects
- As all fields are prefixed with "gallery_id" don't str_replace but use
substr(), is faster
- countGalleries caches results but never returns it if recalled, as this
was not noticed till now I guess that is never recalled so remove the
parameters serialization



More information about the bugs mailing list