Mercurial > cpython-lru_cache-weakref
diff Lib/cmpcache.py @ 1965:3ba17305f047 legacy-trunk
fix buffer size
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 09 Oct 1994 22:34:40 +0000 |
| parents | 7259e96a04a9 |
| children | 4f51e97a6edf |
line wrap: on
line diff
--- a/Lib/cmpcache.py Sat Oct 08 19:30:50 1994 +0000 +++ b/Lib/cmpcache.py Sun Oct 09 22:34:40 1994 +0000 @@ -58,7 +58,7 @@ # def do_cmp(f1, f2): #print ' cmp', f1, f2 # XXX remove when debugged - bufsize = 8096 # Could be tuned + bufsize = 8*1024 # Could be tuned fp1 = open(f1, 'r') fp2 = open(f2, 'r') while 1:
