in reply to Re: Answer: How do I find unique Array in Array of Array?
in thread How do I find unique Array in Array of Arrays?
Good point; but as with anything, there's a time/space tradeoff, and it's the engineer's call.
I would say that for something like your sample data, the time it takes to calculate the MD5 would not be worth it, especially given that the memory savings would be neglible.
In really extreme cases, you'd probably want a function that could hash a complex data structure directly, rather than a stringification of it.
We're building the house of the future together.
|
---|
In Section
Seekers of Perl Wisdom