[Catalog-sig] Flamenco queries

"Martin v. Löwis" martin at v.loewis.de
Mon Apr 9 05:17:10 CEST 2007

> It looks like the __init__ builds a data structure and then
> get_matches() and list_choices() run off this structure.  It would
> certainly be worth fixing this!

I have now committed a fix in PyPI (r441) which performs the computation
of selected entries in SQL, considerably improving browsing if
categories are selected.

If no categories are selected, browsing is still slow. This could be
improved by caching a tally table, as the standard browse page does
not need to report any package names (just a tally).

Is there any efficient way to compute a tally in PostgreSQL on the


More information about the Catalog-sig mailing list