It's a nice idea but creating a new hash table with the results is not as efficient as putting them in a list-like structure. The reason is that you still have to use $hget().item to go through the items in the new hash table. As you know, this is relatively inefficient (complexity of O(n^2)) and becomes very noticeable on large tables (in practice when N > 10,000). Something like $findfile's functionality (dumping to a window or calling a command on each item) should be more efficient.