can we have a filecmp.cmp() that accept a different buffer size?

Kendear kendear at
Thu Jun 12 10:20:39 CEST 2003

filecmp.cmp() uses a BUFSIZE of 8k to compare.
For files that are 500MB, the hard disk is really
busy, going back and forth, while my 512MB RAM is
sitting there, sipping margarita.  Can we have a
version of filecmp.cmp() (and filecmp's other
methods) that accepts a BUFSIZE, such as 1MB or more?

More information about the Python-list mailing list