
26 Aug
2011
26 Aug
'11
1:48 p.m.
On Fri, Aug 26, 2011 at 10:02 AM, Alejandro Cabrera <cpp.cabrera@gmail.com> wrote:
Phil Endecott-48 wrote:
There is still no "adaptor" functionality, so I can't mmap() a file to use as the bloom filter's raw content, as I might want to do for e.g. a spellcheck, URL blocklist, etc. etc.
Could you describe this is more detail? I am familiar with the mmap() interface, but how would one go about providing an adaptor so that mmap() could be used as the Bloom filter's raw content?
A possible solution is simply to allow the use of boost.interprocess allocators which support memory mapped files: http://www.boost.org/doc/libs/1_47_0/doc/html/boost/interprocess/allocator.h... HTH, -- gpd