s-yata / marisa-trie

MARISA: Matching Algorithm with Recursively Implemented StorAge
Other
506 stars 89 forks source link

Activate flag MAP_POPULATE when compiled with -DMAP_POPULATE #14

Open igorbonadio opened 6 years ago

s-yata commented 5 years ago

MAP_POPULATE is defined in sys/mman.h, so it is enabled even if -DMAP_POPULATE is not specified. marisa::Trie should have a new member function that uses MAP_POPULATE?