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

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

Thread Previous | Thread Next
From:
demerphq
Date:
November 12, 2022 16:10
Subject:
Re: Breaking up regcomp.c and maybe regexec.c
Message ID:
CANgJU+VBKY=KrXWGAZEQTrSk4fKee=r_bM0dF1jh+ALiHYWtBA@mail.gmail.com
On Sat, 12 Nov 2022 at 16:32, demerphq <demerphq@gmail.com> wrote:
>
> On Sat, 12 Nov 2022 at 13:19, Dave Mitchell <davem@iabyn.com> wrote:
> >
> > On Sat, Nov 12, 2022 at 12:03:04PM +0100, demerphq wrote:
> > > On Sat, 12 Nov 2022 at 10:32, Dave Mitchell <davem@iabyn.com> 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 :-)
>
> Ok. :-)

I have pushed a first go at this in https://github.com/Perl/perl5/pull/20505

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About