develooper Front page | perl.perl5.porters | Postings from November 2022

Re: Breaking up regcomp.c and maybe regexec.c

Thread Previous | Thread Next
Dave Mitchell
November 12, 2022 12:19
Re: Breaking up regcomp.c and maybe regexec.c
Message ID:
On Sat, Nov 12, 2022 at 12:03:04PM +0100, demerphq wrote:
> On Sat, 12 Nov 2022 at 10:32, Dave Mitchell <> wrote:
> > As for the split, I'm particularly bothered either way. But if we do
> > reorganise, then there are a few runtime things in regcomp.c that really
> > aught to be in regexec.c, like Perl_reg_numbered_buff_fetch().
> I guess when you say "in regexec.c" you mean "in the same compilation
> unit as the pregexec()"?

Well, just that they they should be in a file which contains stuff related
to execution time rather than compile time behaviour. I'll leave the
details to you :-)

"There's something wrong with our bloody ships today, Chatfield."
    -- Admiral Beatty at the Battle of Jutland, 31st May 1916.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About