>> If this really makes a difference on Windows, and if you want to >> contribute such code, you are welcome to do so! > > I guess that mmap is useful with a font with a large size, right ? > if so, do you have a font to test with ?
You want a very large font to play around? I suggest to try `NotoSansCJK.ttc`, which is a 100MByte font: https://github.com/googlefonts/noto-cjk/blob/master/NotoSansCJK.ttc.zip Here's some background information on `mmap`: https://stackoverflow.com/questions/258091/when-should-i-use-mmap-for-file-access Werner