Mercurial > hg
view tests/test-hg-parseurl.py.out @ 13436:b391c0c9be61 stable
hgwebdir: reduce memory usage for index generation
The archive list generator was holding a reference to each
temporary ui copy passed by rawentries(), so the memory
usage for index generation growed proportionally to the
ui object size and the amount of repositories. By returning a
list instead, the temporary reference is dropped immediately.
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Thu, 17 Feb 2011 18:05:27 -0200 |
parents | 3d6915f5a2bb |
children | 375872fdadba |
line wrap: on
line source
http://example.com/no/anchor, branches: (None, []) http://example.com/an/anchor, branches: ('foo', []) http://example.com/no/anchor/branches, branches: (None, ['foo']) http://example.com/an/anchor/branches, branches: ('bar', ['foo']) http://example.com/an/anchor/branches-None, branches: ('foo', [])