Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANNOUNCE : libsndfile-ocaml alpha
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-02 (23:46)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] ANNOUNCE : libsndfile-ocaml alpha
Am Mittwoch, den 03.01.2007, 09:37 +1100 schrieb Erik de Castro Lopo:
> BTW, anyone mmaping files on Linux for performance reasons should
> be aware that Linus himself doesn't think mmap will have any
> performance improvement over read:

Just a quick and somehow interesting observation: Linus assumes that the
read buffer is page-aligned in this comparison, something you cannot
expect in most higher languages (of course you can arrange that in
libsndfile - did you?). That reminds me that the OS guys live in another
world. Would be interesting which function wins if you compare
(which does not care about alignment, and does an extra copy) with

Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
Phone: +49-6151-153855                  Fax: +49-6151-997714