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

Kendear kendear at nospam.com
Thu Jun 12 04:20:39 EDT 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