4 ms·
It _might_ be easier just to use mmio and save any futzing around rewriting the actual code.
by olliej 4y ago
It _might_ be easier just to use mmio and save any futzing around rewriting the actual code.
- liuliu 4y agoYeah, I thought Data(contentsOf:) already do that, but it appears not (tested, indeed allocated all the memory to load the data). Adding `mapIfSafe` in the reading options solved this.