unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24100: [PATCH 0/4] Some regex dead-code elimination
@ 2016-07-28 17:00 Michal Nazarewicz
  2016-07-28 18:07 ` bug#24100: [PATCH 1/4] Remove dead opcodes in regex bytecode Michal Nazarewicz
  2016-08-02 16:06 ` bug#24100: [PATCH 0/4] Some regex dead-code elimination Michal Nazarewicz
  0 siblings, 2 replies; 6+ messages in thread
From: Michal Nazarewicz @ 2016-07-28 17:00 UTC (permalink / raw)
  To: 24100

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-02 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28 17:00 bug#24100: [PATCH 0/4] Some regex dead-code elimination Michal Nazarewicz
2016-07-28 18:07 ` bug#24100: [PATCH 1/4] Remove dead opcodes in regex bytecode Michal Nazarewicz
2016-07-28 18:07   ` bug#24100: [PATCH 2/4] Get rid of re_set_syntax Michal Nazarewicz
2016-07-28 18:07   ` bug#24100: [PATCH 3/4] Get rid of re_set_whitespace_regexp Michal Nazarewicz
2016-07-28 18:07   ` bug#24100: [PATCH 4/4] Hardcode regex syntax to remove dead code handling different syntax Michal Nazarewicz
2016-08-02 16:06 ` bug#24100: [PATCH 0/4] Some regex dead-code elimination Michal Nazarewicz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).