Thread (14 messages) flat view 14 messages, 9 authors, 2016-06-15

Re: [PATCH] Teach "git add" and friends to be paranoid

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:48:19

Possibly related (same subject, not in this thread)

On Mon, Feb 22, 2010 at 01:59:50PM +0100, Paolo Bonzini wrote:
On 02/18/2010 06:36 AM, Junio C Hamano wrote:
quoted
In any case, with any size of paranoia, this hurts the sane use case
Because by mmaping + memcpying you are getting the worst of both
cases: you get a page fault per page like with mmap, and touch
memory twice like with read.
and there is also an extra round of SHA-1 calculation, which I believe
is more expensive than memcpy().


Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help