From: Stefan Mahlitz Date: 2007-05-25T05:23:23+09:00 Subject: Re: optimizing for speed - Array#each Mike Steiner wrote: > 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). Are you using the strings generated by File.join outside of ruby? If not you can simply use them without gsub. Stefan