From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>,
"Brandon Williams" <bmwill@google.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH 0/3] wildmatch refactoring
Date: Thu, 22 Jun 2017 21:38:07 +0000 [thread overview]
Message-ID: <20170622213810.14785-1-avarab@gmail.com> (raw)
The first patch here should be applied, but 2 & 3 trail along as RFCs
to show where this is going.
The RFC patches work, but I'm sure there'll be critiques of the
interface / other suggestions, so they're being sent as RFC so Junio
doesn't need to worry about picking them up / tracking them.
This is prep work for a local series of mine which compiles the
wildmatch pattern into JIT-ed PCRE v2 patterns. That may or may not
end up going anywhere, but as 2/3 notes just making these changes
makes it easier to optimize wildmatch() further down the road.
Ævar Arnfjörð Bjarmason (3):
wildmatch: remove unused wildopts parameter
wildmatch: add interface for precompiling wildmatch() patterns
wildmatch: make use of the interface for precompiling wildmatch()
patterns
apply.c | 2 +-
builtin/describe.c | 4 ++--
builtin/ls-remote.c | 2 +-
builtin/name-rev.c | 6 +++++-
builtin/reflog.c | 2 +-
builtin/replace.c | 7 ++++---
builtin/show-branch.c | 2 +-
config.c | 8 ++++++--
diffcore-order.c | 2 +-
dir.c | 20 +++++++++++++++-----
ref-filter.c | 4 ++--
refs.c | 7 ++++---
revision.c | 2 +-
t/helper/test-wildmatch.c | 6 +++---
wildmatch.c | 23 +++++++++++++++++++++--
wildmatch.h | 13 +++++++++----
16 files changed, 77 insertions(+), 33 deletions(-)
--
2.13.1.611.g7e3b11ae1
next reply other threads:[~2017-06-22 21:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 21:38 Ævar Arnfjörð Bjarmason [this message]
2017-06-22 21:38 ` [PATCH 1/3] wildmatch: remove unused wildopts parameter Ævar Arnfjörð Bjarmason
2017-06-22 21:38 ` [RFC/PATCH 2/3] wildmatch: add interface for precompiling wildmatch() patterns Ævar Arnfjörð Bjarmason
2017-06-24 1:39 ` Junio C Hamano
2017-06-24 10:59 ` Ævar Arnfjörð Bjarmason
2017-06-24 18:13 ` Junio C Hamano
2017-06-22 21:38 ` [RFC/PATCH 3/3] wildmatch: make use of the " Ævar Arnfjörð Bjarmason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170622213810.14785-1-avarab@gmail.com \
--to=avarab@gmail.com \
--cc=bmwill@google.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).