in reply to Re: Combining a hash into another
in thread Combining a hash into another
Mentioning the hash twice, and coding an explicit loop.
The first one you mention seems to be inherently inefficient, unraveling both into lists and rebuilding. I was wondering if there was already a neat idiom that updated in place.
I never remember how to "slice" since I do it so seldom; doing it the boooring way was just expedient to getting the code working. So thanks for posting your examples. --John
|
|---|