Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/3] commit-slab: avoid large realloc

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:49

Jeff King [off-list ref] writes:
Yes, but isn't that a constant:

  (512*1024-32) / sizeof(struct commit_slab_piece)

Leaving it as such lets the compiler optimize better, and is safe from
anybody changing it at runtime. But I think the answer to my question is
"yes, that would be the best thing for patch 2, but patch 3 will allow a
run-time stride parameter anyway". Correct?
Yup.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help