Skip to content

wildmatch precompilation interface

Ævar Arnfjörð Bjarmason git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wildmatch: add interface for precompiling wildmatch() patternswildmatch.c wildmatch.h+36 -02 replies
2/2wildmatch: use the new precompiling wildmatch()builtin/name-rev.c builtin/replace.c config.c +1 more+20 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] wildmatch precompilation interface

My recently landed wildmatch test series was in preperation for some more major wildmatch changes.

Here's another series that prepares for bigger changes in wildmatch, it adds an interface to pre-compile the patterns. Right now there's no point in doing this, and it's harmless since none of the codepaths are that performance sensitive, but down the line this'll save us time as we'll be able to skip re-parsing the pattern each time with a better wildmatch backend.

Ævar Arnfjörð Bjarmason (2):
wildmatch: add interface for precompiling wildmatch() patterns
wildmatch: use the new precompiling wildmatch()

 builtin/name-rev.c |  7 ++++++-
 builtin/replace.c  |  7 ++++---
 config.c           |  8 ++++++--
 refs.c             |  7 ++++---
 wildmatch.c        | 25 +++++++++++++++++++++++++
 wildmatch.h        | 11 +++++++++++
 6 files changed, 56 insertions(+), 9 deletions(-)
Signature · 1 line
2.15.1.424.g9478a66081