In perl.git, the branch hv/study_chunk has been created
<http://perl5.git.perl.org/perl.git/commitdiff/43eb09a5cee8dcd850657ff876c248d248331a63?hp=0000000000000000000000000000000000000000>
at 43eb09a5cee8dcd850657ff876c248d248331a63 (commit)
- Log -----------------------------------------------------------------
commit 43eb09a5cee8dcd850657ff876c248d248331a63
Author: Hugo van der Sanden <[email protected]>
Date: Tue Dec 2 14:31:55 2014 +0000
WIP not for merging
Performance data generated with:
Porting/bench.pl -j=1 --raw --benchfile=t/perf/regex \
-w=t/perf/regex-results ./blead ./study_chunk
Note that bench.pl doesn't count compile-time work, so we must take care
that what we're trying to test happens at run-time.
A t/perf/regex
A t/perf/regex-results
commit 84df316e119ca92ede73380ddf535c76377940b8
Author: Hugo van der Sanden <[email protected]>
Date: Mon Dec 8 14:43:42 2014 +0000
study_chunk: clean up rck_exactfish
Separate mandatory fixups and the different styles of optimization
check.
M regcomp.c
commit d372a677ac97580ded55c2bb00ccb551b9b04709
Author: Hugo van der Sanden <[email protected]>
Date: Mon Dec 8 13:27:28 2014 +0000
study_chunk: clean up rck_exact
Separate mandatory fixups and the different styles of optimization
check; avoid unwarranted chumminess with magic.
M regcomp.c
commit f003b8a7cd94b17454c63603d50cb7e9fc3545f2
Author: Hugo van der Sanden <[email protected]>
Date: Wed Dec 3 13:45:00 2014 +0000
study_chunk: pass rck_params_t to study_chunk
and_withp is never set by callers, so change that also to be initialized
by study_chunk
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit eb1ccccc3ba6a8f9f4caf74a7357531d6f742e0a
Author: Hugo van der Sanden <[email protected]>
Date: Sun Nov 30 11:23:05 2014 +0000
study_chunk: extract the rest of the rck types
rck_endlikish, rck_logical, rck_gpos, rck_trie, and rck_default for
everything else
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit abe2ec833120d1d4895ff5a85bf18b6bd5bd9169
Author: Hugo van der Sanden <[email protected]>
Date: Sat Nov 29 18:18:32 2014 +0000
study_chunk: extract rck_open, rck_close, rck_eval
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 8e614d00aef8ff12f3e7fabfd8d4615ebc6f026c
Author: Hugo van der Sanden <[email protected]>
Date: Sat Nov 29 16:14:15 2014 +0000
study_chunk: extract rck_lookaround
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit f7489141fdf3d4aec1995fd981be4aea7e855021
Author: Hugo van der Sanden <[email protected]>
Date: Fri Nov 28 01:40:34 2014 +0000
study_chunk: extract rck_eolish
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 2aa3c4280e3dd0fd75bf5ce3feae69e89765761a
Author: Hugo van der Sanden <[email protected]>
Date: Fri Nov 28 01:26:36 2014 +0000
study_chunk: extract rck_simple
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit dfa1d240ff9bb548c6e94f6c4418e26a7cc8a742
Author: Hugo van der Sanden <[email protected]>
Date: Tue Nov 25 15:36:32 2014 +0000
study_chunk: extract rck_lnbreak
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit d6203e318cb2dd8d1bb794b5e8f0fab5a7e4c6d8
Author: Hugo van der Sanden <[email protected]>
Date: Tue Nov 25 15:12:56 2014 +0000
study_chunk: break up REGNODE_VARIES into rck_* routines
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit bda66ccd8dcdf013cdee2e6bf63b40b6c430c84f
Author: Hugo van der Sanden <[email protected]>
Date: Tue Nov 25 12:04:24 2014 +0000
study_chunk: extract rck_exactfish
Also move the join_exact() call into the exact/exactfish handling.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 49bd09eb1e7bde8361edd0d5c93a754d821cd4d6
Author: Hugo van der Sanden <[email protected]>
Date: Mon Nov 24 12:30:10 2014 +0000
study_chunk: extract rck_exact
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 689c4ea47d128dafffe9921ba24191021b0b576f
Author: Hugo van der Sanden <[email protected]>
Date: Mon Nov 24 12:18:10 2014 +0000
study_chunk: extract rck_suspend, rck_gosub, rck_gostart
Add helper function rck_enframe; there's still common code for gosub
and gostart that could be refactored.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 29b4a1df6e2798ad497e26a1aebe33695e56fab9
Author: Hugo van der Sanden <[email protected]>
Date: Mon Nov 24 11:25:58 2014 +0000
study_chunk: simplify PAREN_TEST and related macros
Define PAREN_OFFSET to point to the bitvector for the relevant depth, update
PAREN_TEST, PAREN_SET and PAREN_UNSET to take a depth instead of a pointer,
and simplify the various users.
M regcomp.c
commit 6b434858f5ff06b4ee5a9f650a2cd0414610b9f4
Author: Hugo van der Sanden <[email protected]>
Date: Sun Nov 23 16:07:52 2014 +0000
study_chunk: split up rck_branch
Give BRANCH, BRANCHJ and IFTHEN each their own peep routines; move the
shared code to sc_peep_make_trie.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 594f753d2777adbb55c6d9c62db4b5b653b5d732
Author: Hugo van der Sanden <[email protected]>
Date: Sat Nov 22 14:06:23 2014 +0000
study_chunk: extract rck_branch
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit ddb4580a67244dbf7c6d491822d8392b81f0da3c
Author: Hugo van der Sanden <[email protected]>
Date: Fri Nov 21 16:25:19 2014 +0000
study_chunk: extract rck_definep
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 7de2ec228f386212e37380f972e743c41242dc04
Author: Hugo van der Sanden <[email protected]>
Date: Wed Nov 19 15:17:59 2014 +0000
study_chunk: extract rck_elide_nothing
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 2a9d419f34dc8f21505a9e2740bebdee54e413af
Author: Hugo van der Sanden <[email protected]>
Date: Fri Nov 21 14:25:01 2014 +0000
study_chunk: remove JOIN_EXACT macro
It's used only once, and the code is clearer when we can see the condition
it applies.
M regcomp.c
commit 20770d9b2a0647575ef55002b2e996d3dfc6198a
Author: Hugo van der Sanden <[email protected]>
Date: Wed Nov 19 14:52:25 2014 +0000
study_chunk_one_node: reindent
1900-odd lines of whitespace, deindented after removal of outer loop
M regcomp.c
commit 592cae9e668b8f9552b8e4c3df8974d50df34493
Author: Hugo van der Sanden <[email protected]>
Date: Wed Nov 19 14:41:41 2014 +0000
study_chunk: switch study_chunk_one_frame to study_chunk_one_node
Move per-frame diagnostics and outer loop up to study_chunk, leaving
just the work to do on a single node. This requires a return value
to show if the inner loop should be terminated.
The outdent of what remains is done separately in the next commit.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit d0fe0f249dd9a86fd5134a416f412a46a55ff3fb
Author: Hugo van der Sanden <[email protected]>
Date: Wed Nov 19 12:38:12 2014 +0000
study_chunk: remove commented-out "exit recursion" code
This was introduced in 099ec7dc then commented out in 0ac75573.
M regcomp.c
commit 6551bdea8c2b1e50ffdd8459bfa7cebf6238e07a
Author: Hugo van der Sanden <[email protected]>
Date: Mon Nov 17 21:31:13 2014 +0000
study_chunk: separate study_chunk_one_frame
Removes the need for labels fake_study_recurse and finish.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 5e29f175e796a79a34df1d72e7e71ed9c047b065
Author: Hugo van der Sanden <[email protected]>
Date: Mon Nov 17 17:39:19 2014 +0000
study_chunk: move params into struct for refactoring
M perl.h
M regcomp.c
-----------------------------------------------------------------------
--
Perl5 Master Repository