From: Chad Fowler Date: 2004-05-04T21:25:28+09:00 Subject: Re: rubygems implementation question On 4/5/2004, at 7:34 AM, Charles Comstock wrote: > 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. > Pickiness is exactly what's needed right now. Thanks. > Chad