From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH 6/6] RelNotes: add more notes about PCRE in 2.14
Date: Thu, 20 Jul 2017 14:19:27 +0000 [thread overview]
Message-ID: <20170720141927.18274-7-avarab@gmail.com> (raw)
In-Reply-To: <20170720141927.18274-1-avarab@gmail.com>
In-Reply-To: <xmqq7ez6hk2y.fsf@gitster.mtv.corp.google.com>
We were missing any mention that:
- PCRE is now faster with JIT
- That it's now faster than the other regex backends
- That therefore you might want to use it by default, but beware of
the incompatible syntax.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
Documentation/RelNotes/2.14.0.txt | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/RelNotes/2.14.0.txt b/Documentation/RelNotes/2.14.0.txt
index fb6a3dba31..a6a1cb963b 100644
--- a/Documentation/RelNotes/2.14.0.txt
+++ b/Documentation/RelNotes/2.14.0.txt
@@ -88,7 +88,16 @@ UI, Workflows & Features
learned to say "it's a pathspec" a bit more often when the syntax
looks like so.
- * Update "perl-compatible regular expression" support to enable JIT.
+ * Update "perl-compatible regular expression" support to enable
+ JIT.
+
+ This makes grep.patternType=perl (and -P and --perl-regexp) much
+ faster for "git grep" and "git log", and is generally faster than
+ the system's POSIX regular expression implementation. Users
+ concerned with "git grep" performance or "git log --grep"
+ performance might want to try setting grep.patternType=perl. Note
+ that the syntax isn't compatible with git's default of
+ grep.patternType=basic.
* "filter-branch" learned a pseudo filter "--setup" that can be used
to define common functions/variables that can be used by other
--
2.13.2.932.g7449e964c
next prev parent reply other threads:[~2017-07-20 14:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 23:43 [ANNOUNCE] Git v2.14.0-rc0 Junio C Hamano
2017-07-14 23:17 ` Ævar Arnfjörð Bjarmason
2017-07-15 4:09 ` Christian Couder
2017-07-15 10:09 ` Ævar Arnfjörð Bjarmason
2017-07-17 20:41 ` Junio C Hamano
2017-07-18 20:03 ` Junio C Hamano
2017-07-20 14:19 ` [PATCH 0/6] 2.14 RelNotes improvements Ævar Arnfjörð Bjarmason
2017-07-20 20:35 ` Junio C Hamano
2017-07-21 11:03 ` Ævar Arnfjörð Bjarmason
2017-07-20 14:19 ` [PATCH 1/6] RelNotes: mention "log: add -P as a synonym for --perl-regexp" Ævar Arnfjörð Bjarmason
2017-07-20 14:19 ` [PATCH 2/6] RelNotes: mention "log: make --regexp-ignore-case work with --perl-regexp" Ævar Arnfjörð Bjarmason
2017-07-20 14:19 ` [PATCH 3/6] RelNotes: mention "sha1dc: optionally use sha1collisiondetection as a submodule" Ævar Arnfjörð Bjarmason
2017-07-20 14:19 ` [PATCH 4/6] RelNotes: mention that PCRE v2 exposes the same syntax Ævar Arnfjörð Bjarmason
2017-07-20 15:24 ` Junio C Hamano
2017-07-20 14:19 ` [PATCH 5/6] RelNotes: remove duplicate mention of PCRE v2 Ævar Arnfjörð Bjarmason
2017-07-20 15:26 ` Junio C Hamano
2017-07-20 14:19 ` Ævar Arnfjörð Bjarmason [this message]
2017-07-20 19:11 ` [PATCH 6/6] RelNotes: add more notes about PCRE in 2.14 Junio C Hamano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170720141927.18274-7-avarab@gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.