On Sep 18, 3:08 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > why not just hashx[key1][key3]=key1val3 ? You don't need all those > intermediate steps. > > Fred
Maybe he's dealing with really large hashes - or just many operations on them - that having to reference the first sub-hash via the parent hash every time would give a significant degradation in performance. I still prefer the approach you mentioned, though. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

