okfn/ckan — pull request #1042 by wardi (2013-06-25 19:16:28+00:00)
Title: speed up package_list action by only retrieving column we need (not whole package) from db

importing package_revision_table here might be frowned on. What sorts of optimizations would you consider acceptable?

It would be even faster if we did some `select array(...)` magic in our query, but that might be taking it a little too far.