On Sun, 2010-04-25, Stefan Fuhrmann wrote:
> In this patch, I eliminated calls to memcpy for small
> copies as they are particularly expensive in the MS CRT.

If we do decide it is worth avoiding calls to 'memcpy' for small sizes,
please don't put the expanded code in-line at the points of use, because
that obscures the functional purpose of the code.  Instead, put the
optimised version in a suitably named local function ("fast_memcpy"?) so
that the main function remains easy to read.

- Julian


> [[[
> Eliminate memcpy from critical paths during reading
> data from the repository.
[...]


Reply via email to