Re: [PATCH 3/3] Rework pretty_print_commit to use strbufs instead of custom buffers.
From: David Kastrup <hidden> Date: 2016-06-15 22:43:34
Pierre Habouzit [off-list ref] writes:
Also remove the "len" parameter, as:
(1) it was used as a max boundary, and every caller used ~0u
(2) we check for final NUL no matter what, so it doesn't help for speed.
That sounds like a change that makes improvement of callers impossible
when it is found out that it leads to a performance issue. Is it only
the pretty-print that is affected?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum