Author josh.r
Recipients giampaolo.rodola, josh.r, larry, ned.deily, neologix, pitrou, ronaldoussoren
Date 2019-04-03.02:42:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It might be nice to expose a more limited API to prefetch memory in bulk while we're at it. Windows 8 and higher offers PrefetchVirtualMemory ( ) which fills roughly the same niche as madvise/posix_madvise with the WILLNEED hint.

I kept meaning to file an issue to suggest this, but kept getting hung up on how to make it as portable as possible and as powerful as possible, and where to implement it.

It could go on mmap, but it's also useful for just about any contiguous buffer-supporting object, so it almost seems like adding an os.madvise (and/or os.prefetch) would make more sense than specifically tying it to the mmap module.
Date User Action Args
2019-04-03 02:42:45josh.rsetrecipients: + josh.r, ronaldoussoren, pitrou, larry, giampaolo.rodola, ned.deily, neologix
2019-04-03 02:42:45josh.rsetmessageid: <>
2019-04-03 02:42:45josh.rlinkissue32941 messages
2019-04-03 02:42:45josh.rcreate