Message3947
When iterating over *many* results from a database query, we should have
an iterator interface instead of fetching (possibly thousands of) all
whole nodes at once. I've experimented with queries that return
thousands of nodes and simply enlarged roundups node cache. The result
is only marginally faster due to two things
- lots of sql queries
- memory allocation for the cache
only the first will be addressed by the proposed patch...
Maybe we return an iterator from getnodes? |
|
Date |
User |
Action |
Args |
2010-01-03 12:07:10 | schlatterbeck | set | messageid: <1262520430.04.0.585352219529.issue2550514@psf.upfronthosting.co.za> |
2010-01-03 12:07:10 | schlatterbeck | set | recipients:
+ schlatterbeck, richard, stefan, rawler |
2010-01-03 12:07:09 | schlatterbeck | link | issue2550514 messages |
2010-01-03 12:07:09 | schlatterbeck | create | |
|