Charles-François Natali added the comment:

Zero-filling mmap's backing file isn't really optimal: why not use truncate() 
instead? This way, it'll avoid completely I/O on filesystems that support 
sparse files, and should still work on FS that don't.

----------
nosy: +neologix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to