gist to use mmap introduced