Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 (Priest) 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 meditating upon the Monastery: (1)
As of 2020-10-25 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?