From: apeiros@... Date: 2009-11-09T21:54:15+09:00 Subject: Re: FileString - request for comments Hi Joel > What would the advantage over mmap[1] be? FileString is pure ruby > (right?) and hence more portable, but probably mmap is much more > efficient? Any other tradeoffs? Interesting, I was looking if a solution existed already and didn't find mmap. Yes, FileString is pure ruby and should therefore run on all ruby implementations. And yes, I'd expect mmap to be more efficient on the other hand. It'd be interesting to combine the two (if that's at all possible). In a quick test it seems FileString is more complete too, e.g. Mmap doesn't have #replace (should be trivial to add). But Mmap has the feature to only tie a part of the file. > http://github.com/knu/ruby-mmap. Thanks for the link Regards Stefan -- GRATIS f�r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01