diff options
| author | Stefan Monnier | 2000-03-29 04:01:45 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-03-29 04:01:45 +0000 |
| commit | f6a3f532b0b6dae667514f217db3a62dfaa2d4ce (patch) | |
| tree | ba2557e71310c92f2f36862e1ae5c756b28a1306 /src/ChangeLog | |
| parent | bb15bd9a51769b13a2e1adb3c504d193606c6482 (diff) | |
| download | emacs-f6a3f532b0b6dae667514f217db3a62dfaa2d4ce.tar.gz emacs-f6a3f532b0b6dae667514f217db3a62dfaa2d4ce.zip | |
(analyse_first): New function obtained by ripping out most
of re_compile_fastmap and generalizing it a little bit so that it
can also just return whether a given (sub)pattern can match the empty
string or not.
(regex_compile): Use `analyse_first' to decide whether the loop-check
needs to be done or not for *, +, *? and +? (the loop check is costly
for non-greedy repetition).
(re_compile_fastmap): Delegate the actual work to `analyse_first'.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a12f34a2a5b..3f33d4c59da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * regex.c (analyse_first): New function obtained by ripping out most | ||
| 4 | of re_compile_fastmap and generalizing it a little bit so that it | ||
| 5 | can also just return whether a given (sub)pattern can match the empty | ||
| 6 | string or not. | ||
| 7 | (regex_compile): Use `analyse_first' to decide whether the loop-check | ||
| 8 | needs to be done or not for *, +, *? and +? (the loop check is costly | ||
| 9 | for non-greedy repetition). | ||
| 10 | (re_compile_fastmap): Delegate the actual work to `analyse_first'. | ||
| 11 | |||
| 1 | 2000-03-28 Dave Love <fx@gnu.org> | 12 | 2000-03-28 Dave Love <fx@gnu.org> |
| 2 | 13 | ||
| 3 | * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, | 14 | * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |