Lately with mmap and huge files:
I found that it's way faster than other traditional file reading methods (wether readline() or read( controlled buffer ) ) there's no need to loop or wait and pretty much helpful and faster for regular expressions
From your own experience:
There must be a dark side I don't see
what are the disadvantages of using mmap?