develooper Front page | perl.perl5.porters | Postings from May 2015

Re: [perl #124430] Bleadperl v5.21.9-227-g273e254 breaksDBR/App-assh-1.1.2.tar.gz

Thread Previous | Thread Next
May 20, 2015 10:43
Re: [perl #124430] Bleadperl v5.21.9-227-g273e254 breaksDBR/App-assh-1.1.2.tar.gz
Message ID:
Dave Mitchell wrote:
>BTW, I'm not convinced that the call checker is the right way to optimise
>away those functions, in that it is a compile-time check on the CV in the
>GV, whereas function calls are normally resolved by a run-time lookup of
>the CV in the GV;

Calls to constant subs already get resolved at compile time.  This is
not (entirely) new behaviour.  I'm relaxed about runtime monkey-patching
not working; compile-time monkey-patching seems eminently adequate.

Bigger picture: if we decide that only the runtime-dynamic behaviour is
correct, then that rules out huge swathes of optimisability.  Whether it
was originally correct or not, compile-time resolution is the healthier
direction in which to evolve.


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