[PATCH] Increase performance on Windows by up to 2x
Bryan O'Sullivan
bos at serpentine.com
Thu Mar 26 18:24:22 UTC 2009
This patch replaces the util_win32 module's posixfile_nt class with a C
wrapper that lets Mercurial use Python's normal file handling code. That
code uses buffered I/O for reads and writes, so is substantially faster in
many cases than the existing code which goes through the win32 I/O APIs. In
case the C extension is not available, we still fall back to the current
code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20090326/ef0bd1a2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winperf.patch
Type: application/octet-stream
Size: 6922 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20090326/ef0bd1a2/attachment-0002.obj>
More information about the Mercurial-devel
mailing list