From: ts Date: 2000-12-21T02:38:45+09:00 Subject: [ruby-talk:7776] Re: String as IO and/or File object? >>>>> "Y" == Yukihiro Matsumoto writes: Y> |mf = open("bigimage", "r").to_mmap("r") Y> |mf.scan(/.../)... Y> Pretty interesting. I wish to see the extension which implements this. Y> I prefer just 'mmap' over 'to_mmap' though. It's not better to have String.mmap("path", "mode") ? open("path", ...) use fopen() or fdopen() (no ?) and this can be a problem with mmap (or do I say something totally stupid) Guy Decoux