[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24100: [PATCH 0/4] Some regex dead-code elimination
From: |
Michal Nazarewicz |
Subject: |
bug#24100: [PATCH 0/4] Some regex dead-code elimination |
Date: |
Thu, 28 Jul 2016 19:00:28 +0200 |
The first patch is just a minor cleanup, the rests bank on the
observation that Emacs only ever uses its own regex syntax.
Overall, this shrinks Emacs by over 60 kB and expecetdly also speeds
it up.
This patchest is put on top of my previous on from bug#24009. The
whole branch can be seen at https://github.com/mina86/emacs/.
Unless there are objections, I’ve submit it in a week or so.
Michal Nazarewicz (4):
Remove dead opcodes in regex bytecode
Get rid of re_set_syntax
Get rid of re_set_whitespace_regexp
Hardcode regex syntax to remove dead code handling different syntax
src/regex.c | 101 ++++++++++++++++++++++++++++++++++-------------------------
src/regex.h | 20 ++++++++++--
src/search.c | 17 +++-------
3 files changed, 80 insertions(+), 58 deletions(-)
--
2.8.0.rc3.226.g39d4020
- bug#24100: [PATCH 0/4] Some regex dead-code elimination,
Michal Nazarewicz <=