|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
As Efficient as Possibleby mr_p (Scribe) |
| on Apr 02, 2010 at 20:32 UTC ( [id://832550]=perlquestion: print w/replies, xml ) | Need Help?? |
|
mr_p has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, I want to make this function efficient as possible. Can someone please let me know what I need to change or add to make it so. This function takes two arrays and diffs them, and updates $my_bonly with if element does not exist in @a_ref and it does in @b_ref. Also, combines the intersection of @a_ref and @b_ref with @my_bonly.
previously working on thread: http://www.perlmonks.org/?node_id=832494 I don't believe this is not efficient, but I want everyones opinion on how to make it more faster like. Whether if I can do what I'm doing faster using different method.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||