in reply to Re^2: A more elegant way to filter a nested hash?
in thread A more elegant way to filter a nested hash?
Thanks for the input!
I do agree this is quite a bit more elegant. Hash slicing is very nicely suited to this problem.
I will need to put together a set of test cases for this function anyways, so I will try out all the versions posted so far and report back on the Benchmark results.
Best,
Jim
πάντων χρημάτων μέτρον έστιν άνθρωπος.
|
|---|