Hacker News new | ask | show | jobs
by liuliu 2076 days ago
Yes, probably. With hindsight, it is probably a mistake to use mmap. I probably can do better to just read file myself, since I have to make a mirror buffer later for some data manipulation anyway.