Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ( #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 :) )

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

Replies are listed 'Best First'.
Re^4: How to Order an Array's Elements to Match Another Array's Element Order
by swl (Deacon) 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
Node Status?
node history
Node Type: note [id://11106286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2019-11-18 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (91 votes). Check out past polls.

    Notices?