[plugin] dirstate experiments

Aaron Bentley aaron.bentley at utoronto.ca
Wed Jun 14 21:27:47 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> At this point I'm running into the time it takes to do 60k additions,
> and 20k list.appends().
> So I don't think there is much more room for improvement.

Here's a thought for the update-single-entry case:
The file could end with an unsorted, append-only portion, whose values
overrode the values in the main section.

This would allow us to update single entries with the moral equivalent
of: file('dirstate', 'ab').write('my new values')

Obviously, we'd want to re-sort the file fairly often, because a large
append-only section would hurt performance.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEkHFD0F+nu1YWqI0RAh/LAJ9sRyKZscLV0hf5y41v294ET7OaDwCfaXb0
JyWFAuVQ61FbvuqOqKXMjPY=
=pYuL
-----END PGP SIGNATURE-----




More information about the bazaar mailing list