Roman Podolyaka
c7afedad00
Use Query instances as iterables when possible
...
A Query.all() call creates a list of a DB query results.
We can actually use a Query instance as an iterable and
thus avoid creation of a list if we just need to iterate
over those values only once.
Fixes bug 1173133
Change-Id: I06d8eaa9eaba4c71aa0c98000735cb9d83ea19a3
2013-04-29 10:12:41 +03:00
..
2013-04-04 04:57:52 +00:00
2013-04-11 19:48:28 +00:00
2013-04-10 21:38:13 +00:00
2013-04-22 13:05:10 +03:00
2013-04-11 19:48:28 +00:00
2013-04-04 04:57:52 +00:00
2013-04-12 15:10:32 +00:00
2013-04-11 19:48:28 +00:00
2013-04-10 18:10:23 +08:00
2013-04-11 19:48:28 +00:00
2013-04-29 10:12:41 +03:00
2013-04-12 15:10:32 +00:00
2013-02-10 07:49:48 -08:00
2013-04-11 19:48:28 +00:00
2013-04-11 19:48:28 +00:00
2013-03-13 15:06:24 -04:00
2013-02-17 17:33:05 +00:00
2013-04-04 04:57:52 +00:00
2013-04-11 19:48:28 +00:00
2013-04-11 19:48:28 +00:00
2013-03-13 15:06:24 -04:00
2013-03-13 15:06:24 -04:00
2013-03-21 18:02:15 +00:00
2013-03-05 18:07:14 -05:00
2013-03-13 15:06:24 -04:00
2013-04-04 04:57:52 +00:00
2013-04-04 04:57:52 +00:00
2013-03-05 18:07:14 -05:00
2013-04-01 17:51:10 +08:00
2013-04-11 19:48:28 +00:00
2013-04-11 19:48:28 +00:00
2013-03-13 15:06:24 -04:00
2013-03-13 15:06:24 -04:00
2013-04-04 04:57:52 +00:00
2013-03-05 18:07:14 -05:00
2013-04-29 10:12:41 +03:00
2013-04-04 04:57:52 +00:00
2013-03-13 15:06:24 -04:00
2013-04-04 04:57:52 +00:00
2013-04-04 04:57:52 +00:00
2013-03-05 18:07:14 -05:00
2013-02-28 16:29:23 +09:00
2013-04-11 19:48:28 +00:00
2013-04-11 19:48:28 +00:00
2013-04-04 04:57:52 +00:00
2013-04-11 19:48:28 +00:00
2013-03-05 18:07:14 -05:00
2013-04-03 15:28:43 -07:00
2013-04-12 15:10:32 +00:00
2013-04-04 04:57:52 +00:00
2013-03-25 15:00:48 +09:00
2013-04-04 04:57:52 +00:00
2013-04-25 17:07:35 +00:00
2013-04-25 17:07:35 +00:00
2013-04-11 19:48:28 +00:00
2013-04-23 06:52:34 +00:00
2013-04-11 19:48:28 +00:00
2013-04-22 20:42:02 +02:00
2013-04-04 04:57:52 +00:00
2013-03-13 15:06:24 -04:00
2013-03-08 16:26:53 +08:00
2013-04-11 19:48:28 +00:00
2013-04-04 04:57:52 +00:00
2013-04-21 09:42:59 +00:00
2013-04-11 19:48:28 +00:00
2013-04-11 19:48:28 +00:00
2013-03-13 15:06:24 -04:00