RE: [PATCH] Reduce the amount of WriteFile() syscalls when writing to buffered files
From: Markus Schaber <m.schaber_at_codesys.com>
Date: Tue, 22 Aug 2017 06:42:29 +0000
Hi, Evgeny,
Great work, IMHO.
From: Evgeny Kotkov [mailto:evgeny.kotkov_at_visualsvn.com]
Why first refilling the buffer, instead of flushing the partial buffer content, and then the original data to write?
From my first glance, it looks like the number of syscalls should be the same, and we could skip the mem copy?
Mit freundlichen Grüßen
Markus Schaber
CODESYS® Eine Marke der 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions
3S-Smart Software Solutions GmbH
E-Mail: m.schaber@codesys.com | Web: http://www.codesys.com | CODESYS store: http://store.codesys.com
Geschäftsführer: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Handelsregister: Kempten HRB 6186 | USt-IDNr.: DE 167014915
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.