https://gist.github.com/mgood7123/645088975d73d7d0361fc44ebe4b888a
in the above code
(with entire file content pre-loaded)
my iterator takes around 3 seconds to iterate ~1.3k files totaling ~195 mb in size
meanwhile my mmap iterator (also included) takes ~0.4 seconds for the same thing
how can i bring the performance of my ifstream bidir closer to the performance of my mmap iterator ?