develooper Front page | perl.perl5.porters | Postings from September 2016

[perl #6997] "Useless use of concatenation" warning not triggered bymultiple concatenations.

Thread Previous
From:
Father Chrysostomos via RT
Date:
September 29, 2016 19:29
Subject:
[perl #6997] "Useless use of concatenation" warning not triggered bymultiple concatenations.
Message ID:
rt-4.0.24-30873-1475177365-287.6997-15-0@perl.org
On Thu Sep 29 02:18:43 2016, davem wrote:
> As an aside, I've occasionally thought that we need an OP_CONCATLIST
> op,
> where rpeep() converts a nested tree of concat ops into a (PUSHMARK,
> arg,
> arg, ...,  CONCATLIST) sequence, where the CONCATLIST op is a bit like
> join('', ....) (but more efficient).

If it turns out to be more efficient, then join '', ... should be optimised into CONCATLIST.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=6997

Thread Previous


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