Thread (11 messages) 11 messages, 3 authors, 2018-02-23

Re: [PATCH 0/3] a few grep patches

From: Brandon Williams <hidden>
Date: 2018-02-15 22:02:20

On 02/15, Rasmus Villemoes wrote:
I believe the first two should be ok, but I'm not sure what I myself
think of the third one. Perhaps the saving is not worth the
complexity, but it does annoy my optimization nerve to see all the
unnecessary duplicated work being done.
I agree, the first two seem like good changes to me though I don't know
if i like the complexity that the third introduces.
Rasmus Villemoes (3):
  grep: move grep_source_init outside critical section
  grep: simplify grep_oid and grep_file
  grep: avoid one strdup() per file

 builtin/grep.c | 25 ++++++++++++-------------
 grep.c         |  8 ++++++--
 2 files changed, 18 insertions(+), 15 deletions(-)

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