GNU bug report logs - #24100
[PATCH 0/4] Some regex dead-code elimination

Previous Next

Package: emacs;

Reported by: Michal Nazarewicz <mina86 <at> mina86.com>

Date: Thu, 28 Jul 2016 17:01:02 UTC

Severity: wishlist

Tags: patch

Done: Michal Nazarewicz <mina86 <at> mina86.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michal Nazarewicz <mina86 <at> mina86.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24100: closed ([PATCH 0/4] Some regex dead-code elimination)
Date: Tue, 02 Aug 2016 16:07:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Aug 2016 18:06:40 +0200
with message-id <xa1t7fbz2m0f.fsf <at> mina86.com>
and subject line Re: [PATCH 0/4] Some regex dead-code elimination
has caused the debbugs.gnu.org bug report #24100,
regarding [PATCH 0/4] Some regex dead-code elimination
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24100: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24100
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michal Nazarewicz <mina86 <at> mina86.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [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



[Message part 3 (message/rfc822, inline)]
From: Michal Nazarewicz <mina86 <at> mina86.com>
To: 24100-done <at> debbugs.gnu.org
Subject: Re: [PATCH 0/4] Some regex dead-code elimination
Date: Tue, 02 Aug 2016 18:06:40 +0200
Pushed.

-- 
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»

This bug report was last modified 8 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.