tenderlove / mmap

A wrapper around mmap
63 stars 14 forks source link

Mmap

The Mmap class implement memory-mapped file objects

SYNOPSIS

  require 'mmap'

  mmap = Mmap.new(__FILE__)
  mmap.advise(Mmap::MADV_SEQUENTIAL)

  mmap.each do |line|
    puts line
  end

Installation

gem install mmap

Documentation

rake docs

Interface

WARNING: The variables $' and $` are not available with gsub! and sub!

SuperClass

Object

Included Modules

Class Methods

Instance Methods

Other methods with the same syntax than for the class String

Copying

This extension module is copyrighted free software by Guy Decoux

You can redistribute it and/or modify it under the same term as Ruby.

Guy Decoux ts@moulon.inra.fr