Under Win7, a large amount of data files in Py are faster through mmap or faster than direct_io.

is there a ready-made IO library for efficient files in Py

write it yourself. It"s not convenient to append with mmap, and you have to write your own cache with direct_io. It"s best to have a ready-made library

.
Dec.20,2021

mmap, with the help of memory mapping

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5a347-448e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5a347-448e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?