From: Chris White Date: 2011-09-12T11:47:36+09:00 Subject: Re: Not 2 maps > I didn't mention it, but I was trying not to iterate. But, I guess I > need to if I want to get more speed. The question here is going to come down to why you're so worried about speed. What's your specific use case? The one you gave us seems to simplified to vouch for going the optimization route. Are you repeating this process thousands of times? With larger data sets? Computer processing power has evolved a lot over the years to the point to where the bar is set higher for when granular optimizations are required. If, however, such speed is critical to the application, you also have the route of writing a C level extension (assuming MRI here). Regards, Chris White Twitter: http://www.twitter.com/cwgem