Compressed/streamlined version of smmap (http://github.com/Byron/smmap).