Hi,
In message "[ruby-talk:7776] Re: String as IO and/or File object?"
on 00/12/21, ts <decoux / moulon.inra.fr> 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") ?
Probably. It will be proved by the implementation.
matz.