From: Han Holl Date: 2005-09-17T04:36:50+09:00 Subject: Re: bug in require? ------=_Part_9141_26100838.1126899407385 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/16/05, nobu.nokada@softhome.net wrote: >=20 >=20 > If md5.rb exists in loadpath, it should be loaded even if > md5.so has been loaded. I don't doubt for a minute that you are right, but in practice this will of= =20 course hardly ever occur, and with the gem-induced explosion of the search= =20 path it is probably worthwhile to do something about it: rewriting require,= =20 or introducing a specialized require with a different name, or autoloading. Intuitively, if I say: require 'some/feature' , I would expect (almost)=20 nothing to happen if this feature had been required before. About 50 failin= g=20 lookups in directories is not almost nothing. Maybe we could have some global flag meaning: I don't need this overly=20 correct behaviour, please do nothing if either .rb of .so (or .dll) has bee= n=20 loaded ? Cheers, Han Holl ------=_Part_9141_26100838.1126899407385--