develooper Front page | perl.perl5.porters | Postings from February 2020

Re: chained comparisons

Thread Previous | Thread Next
From:
Zefram via perl5-porters
Date:
February 7, 2020 09:48
Subject:
Re: chained comparisons
Message ID:
20200207094834.nd5ba3ffjbxkzdwi@fysh.org
demerphq wrote:
>Oh, ok, that is kinda confusing. Can it be made to call it once?

Not without either poking into the innards of the comparison ops (which
would cause a maintenance burden) or introducing some copying to temporary
SVs (which would be detrimental to performance).

-zefram

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