Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Constants lists in array slices

by LanX (Saint)
on Jul 20, 2018 at 12:35 UTC ( [id://1218897]=note: print w/replies, xml ) Need Help??


in reply to Re: Constants lists in array slices
in thread Constants lists in array slices

> I'm not sure what you expect.

of course it's the same output.

The performance depends on the generated opcodes.

I wasn't aware that constant folding of lists wasn't implemented in "oldish" Perl versions.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^3: Constants lists in array slices
by hippo (Bishop) on Jul 20, 2018 at 13:14 UTC
    The performance depends on the generated opcodes.

    Thanks - this was the bit I missed from the OP. It is now clear to me why this was of a concern to you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found