From: Dave Thomas Date: 2002-05-07T11:31:30+09:00 Subject: Re: require and case Jim Freeze writes: > Why is keying off the file name/path the only method used to > distinguish file identity. Ruby could hash each file and store the > hash. That way, the same file included in two different paths, could > be identified as the same. It certainly isn't the only way, but in general the canonical file name seems to be a pretty good hash in it's own right, particularly if you resolve symbolic links: the file name pretty much corresponds to the entity that you're causing to be loaded. Dave