Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^6: Using 'keys' on a list

by Anonymous Monk
on Jul 02, 2021 at 22:26 UTC ( [id://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 (Saint) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-03-28 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found