Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^6: Using 'keys' on a list

by Anonymous Monk
on Jul 02, 2021 at 22:26 UTC ( #11134605=note: print w/replies, xml ) Need Help??

in reply to Re^5: Using 'keys' on a list
in thread Using 'keys' on a list

Why don't you do it yourself?

uh, because *you're* the one making claims about performance without benchmarks...

Replies are listed 'Best First'.
Re^7: Using 'keys' on a list
by LanX (Sage) on Jul 03, 2021 at 10:20 UTC
    > uh, because you're the one making claims about performance without benchmarks...

    Nope, you started with claims of a benchmark...

    > > > > then your benchmark is very different from mine

    Ok you had your fun trolling.

    Now prove your "point" with code or go find another victim.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^7: Using 'keys' on a list
by Marshall (Canon) on Jul 02, 2021 at 23:02 UTC
    You are the one claiming things that don't make sense.

    In general, passing a ref to a hash that has been created in a sub is much, much more efficient than passing the key/value pairs as a list to the caller. Period.

    The case presented by the OP is a bizarre thing.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2021-12-09 10:47 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (36 votes). Check out past polls.