From: Charles Comstock Date: 2004-05-04T20:34:03+09:00 Subject: Re: rubygems implementation question Chad Fowler wrote: >> > You're right, but if we replaced this with: > > FileUtils.mkdir_p File.join(install_dir, "specifications") > FileUtils.mkdir_p File.join(install_dir, "cache") > > ..it would run between 300 and 400 times slower (literally). That's not > a big deal for a single require_gem, but in a system that loads a *lot* > of gems, it might be a problem. > Oh because it executes another program as opposed to making a system call or something like that? Sorry wasn't trying to be picky I wasn't familiar with FileUtils and was thinking about using it my own projects. I hadn't thought of that performance issue with making a system call. Hmm maybe that should be in the standard library info about FileUtils. Thank you for the info, Charles Comstock