At http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/lighter_log_file
------------------------------------------------------------
revno: 3727
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: lighter_log_file
timestamp: Thu 2008-09-18 22:50:29 -0500
message:
Doc update.
=== modified file 'bzrlib/log.py'
--- a/bzrlib/log.py 2008-09-19 03:42:24 +0000
+++ b/bzrlib/log.py 2008-09-19 03:50:29 +0000
@@ -562,8 +562,9 @@
# Do a direct lookup of all possible text keys, and figure out which ones
# are actually present, and then convert it back to revision_ids, since the
# file_id prefix is shared by everything.
- # Using a set of revisions instead of a set of keys saves about 1MB (out of
- # say 400). Not a huge deal, but still "better".
+ # Looking up keys in batches of 1000 can cut the time in half, as well as
+ # memory consumption. GraphIndex *does* like to look for a few keys in
+ # parallel, it just doesn't like looking for *lots* of keys in parallel.
get_parent_map = branch.repository.texts.get_parent_map
modified_text_revisions = set()
chunk_size = 1000
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits