Rev 2541: Add NEWS entries for performance improvements. in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex

John Arbash Meinel john at arbash-meinel.com
Thu Jul 12 19:11:24 BST 2007


At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex

------------------------------------------------------------
revno: 2541
revision-id: john at arbash-meinel.com-20070712181059-xnomv3tzzsb2hpx5
parent: john at arbash-meinel.com-20070712163402-lp91q157w5etslrj
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate_pyrex
timestamp: Thu 2007-07-12 13:10:59 -0500
message:
  Add NEWS entries for performance improvements.
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2007-07-11 04:54:43 +0000
+++ b/NEWS	2007-07-12 18:10:59 +0000
@@ -9,7 +9,14 @@
     * ``info`` now formats locations more nicely and lists "submit" and
       "public" branches (Aaron Bentley)
 
-    * None yet ...
+    * ``DirState._read_dirblocks`` now has an optional Pyrex
+      implementation. This improves the speed of any command that has to
+      read the entire DirState (atm, all commands that effect the working
+      tree, ``diff``, ``status``, etc).
+      ``bisect_dirblocks`` has also been improved, which helps all
+      ``_get_entry`` type calls (whenever we are searching for a
+      particular entry in the in-memory DirState).
+      (John Arbash Meinel)
 
   LIBRARY API BREAKS:
 
@@ -17,7 +24,11 @@
 
   INTERNALS:
 
-    * None yet ...
+    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
+      their directory sections. This is equivalent to comparing
+      ``path.split('/')``, only without having to split the paths.
+      This has a Pyrex implementation available.
+      (John Arbash Meinel)
 
   TESTING:
 



More information about the bazaar-commits mailing list