Hi, At Fri, 16 Sep 2005 23:24:16 +0900, Han Holl wrote in [ruby-talk:156435]: > Ara's question was what the difference was between execution from the > commandline and from a script. > Only now I see that the difference is that from the commandline he requires > "digest/md5.so", and from the file > 'digest/md5', without the extension. > Which means that you get a considerable perfomance penalty by omitting the > extension. In a gem-installed rails environment the seachpath can easily be > 25 directories. Multiple requires withou extension can be costly there. If md5.rb exists in loadpath, it should be loaded even if md5.so has been loaded. -- Nobu Nakada