Nick Coghlan <ncoghlan <at> gmail.com> writes: > > On the performance side... the overhead from fsync() itself is going to > dwarf the CPU overhead of going through a wrapper class.
The significant overhead is not in calling sync() or flush() or close(), but in calling methods which are supposed to be fast (read() from internal buffer or write() to internal buffer, for example). _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com