From: Robert Klemme Date: 2007-05-25T06:02:26+09:00 Subject: Re: optimizing for speed - Array#each 2007/5/24, Mike Steiner : > One of the things I'm doing is a lot of File.join's, and I have to do a gsub > ( /\// , "\\" ) after each one (because I'm running under Windows). > > I can't use sets because I have duplicate records. There is no unique record > key, so for each record (which I use as a key in a hash), I have an array > listing the files it appears in (which can include the same file more than > once). Can you be a bit more specific on what exactly you are doing? robert -- Have a look: http://www.flickr.com/photos/fussel-foto/