Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by GrandFather (Sage)
on Sep 17, 2019 at 11:08 UTC ( #11106291=note: print w/replies, xml ) Need Help??


in reply to How to Order an Array's Elements to Match Another Array's Element Order

Why? What does your real data look like?

Our knowing why and what the data looks like is important because an optimum solution may depend on things like how many items there are in the respective arrays and how big those items are. Or it may be that you've landed on a solution that can't be made to work well and knowing why you ended up here may make finding a better solution possible.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: How to Order an Array's Elements to Match Another Array's Element Order

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2019-12-11 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?