A sick idea - mmapped file output

Bourne-again Superuser toor@dyson.jdyson.com
Fri Nov 3 19:49:00 GMT 2000


Linus Torvalds said:
> 
> Comparing the mmap() with a stdio-based approach is unfair.  You should
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> at least try with direct write() calls.  If the common case is _really_
> short writes, you could go half-way, with a really simple buffering
> scheme rather than stdio (expose the buffer or similar).
> 
I agree.

John


More information about the Gcc mailing list