Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: [PATCH] speedup allocation in pack-redundant.c

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:13

Possibly related (same subject, not in this thread)

Alex Riesen [off-list ref] writes:
Subject: [PATCH] speedup allocation in pack-redundant.c

Reuse discarded nodes of llists

Signed-off-by: Alex Riesen <redacted>
I think making allocation/deallocation to the central place is a
good cleanup, but I am not sure about the free-nodes reusing.
Does this make difference in real life?  If so, it might be
worth doing the slab-like allocation, since free-nodes are very
small structure and malloc overhead is not ignorable there.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help