File::Locate::Iterator::FileMap -- shared mmaps for File::Locate::Iterator
This is an internal part of
A FileMap object holds a file mmapped by
File::Map and will re-use it rather than mapping the same file a second time.
This module shouldn't exist,
File::Map is in a much better position to share read-only mmaps,
and can do so across threads too.
Almost every read-only mmap will want to share.
Straightforward cases like an mmap of a whole file should definitely share.
Copyright 2009, 2010, 2011 Kevin Ryde
File-Locate-Iterator is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
File-Locate-Iterator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with File-Locate-Iterator. If not, see http://www.gnu.org/licenses/