Mercurial > hg > mercurial-crew-with-dirclash
view hg @ 5445:64cf1c853674
revlog: reduce memory usage in addgroup
- use a buffer to extract the delta from a chunk
- avoid concatenating to a compressed delta
- use a buffer to directly extra full text from a trivial delta
- delete chunk and delta objects after use
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 11 Oct 2007 00:46:47 -0500 |
parents | 55860a45bbf2 |
children |
line wrap: on
line source
#!/usr/bin/env python # # mercurial - scalable distributed SCM # # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. # enable importing on demand to reduce startup time from mercurial import demandimport; demandimport.enable() import mercurial.dispatch mercurial.dispatch.run()