[pypy-svn] r49328 - pypy/dist/pypy/rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Dec 4 00:01:00 CET 2007


Author: cfbolz
Date: Tue Dec  4 00:00:59 2007
New Revision: 49328

Modified:
   pypy/dist/pypy/rlib/rope.py
Log:
add an XXX


Modified: pypy/dist/pypy/rlib/rope.py
==============================================================================
--- pypy/dist/pypy/rlib/rope.py	(original)
+++ pypy/dist/pypy/rlib/rope.py	Tue Dec  4 00:00:59 2007
@@ -864,6 +864,7 @@
             self._advance_to(start)
     
     def _advance_to(self, index):
+        # XXX this is O(index), should be O(log(index))
         assert index > 0
         assert self.index == 0
         while 1:



More information about the Pypy-commit mailing list