Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: How to Order an Array's Elements to Match Another Array's Element Order

by Eily (Monsignor)
on Sep 17, 2019 at 09:40 UTC ( [id://11106286]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to Order an Array's Elements to Match Another Array's Element Order
in thread How to Order an Array's Elements to Match Another Array's Element Order

Good point :). Although I like it more because it short than because it is fast (I basically treat speed considerations as insignificant until proven otherwise :) )

Replies are listed 'Best First'.
Re^4: How to Order an Array's Elements to Match Another Array's Element Order
by swl (Parson) on Sep 17, 2019 at 11:05 UTC

    Yes, it's more concise. It does also need to be called a large number of times to be meaningfully faster.

Log In?
Username:
Password:

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

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

    No recent polls found