develooper Front page | perl.perl5.porters | Postings from June 2021

Re: RFC 0004 - defer {} syntax

Thread Previous | Thread Next
Tom Molesworth via perl5-porters
June 21, 2021 00:24
Re: RFC 0004 - defer {} syntax
Message ID:
On Mon, 21 Jun 2021 at 07:55, Yuki Kimoto <> wrote:

> How much does defer block affect current performance of Perl?

The module is available on CPAN:

so this would be the best place to start if there are specific benchmarks
you would like to try.

Addition of the keyword should have no measurable impact on existing code.

Performance is generally faster than the equivalent
create-instance-and-hook-DESTROY functionality provided by modules such as

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