comparison mercurial/filemerge.py @ 8330:7de68012f86e

Windows: improve performance via buffered I/O The posixfile_nt code hits the win32 file API directly, which essentially amounts to performing a system call for every read and write. This is slow. We add a C extension that lets us use a Python file object instead, but preserve our desired POSIX-like semantics (the ability to rename or delete a file that is being accessed). If the C extension is not available (e.g. in a VPS environment without a compiler), we fall back to the posixfile_nt code.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 08 May 2009 15:52:26 -0700
parents b87a50b7125c
children 744d6322b05b
comparison
equal deleted inserted replaced
8329:79a12651d46b 8330:7de68012f86e