Jesús Cea Avión added the comment:

Depending of a concrete OS implementation is not good. Linux is not the only OS 
out there, and I have very old machines in production yet:

"""
# uname -a
Linux colquide.XXXX.es 2.4.37 #4 Fri Dec 12 01:10:45 CET 2008 i686 unknown
"""

I have been hit by the VM/file cache split in the past. Portability is 
important.

Anyway, the Python "mmap" manual says that "mmap.flush()" is needed to be sure 
that you are not going to "lose" changes you made in the mmap. On "modern" OSs 
it is not actually needed, as you say, and the performance hit is important 
enough for me to investigate and write this enhancement proposal :).

----------

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

Reply via email to