estonfer/rbvmomi — comment on commit 8e952b68a34bbf7d51d7143c60fac0e1a5be2505
File:  line 0
By rlane:

I think I see the problem. This code was depending on Ruby 1.9's feature of preserving hash insertion order. AFAICT we don't need to use a recursive chain_hash function here. Just autovivifying to {} will work. The "tree[obj] = {}" line can also be removed.

This function is deprecated because it's a pain to use. You might want to use inventory_flat or inventory_tree instead.