English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Threads performance issue.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-02-17 (10:57)
From: Mark Shinwell <mshinwell@j...>
Subject: Re: [Caml-list] Re: Threads performance issue.
On Tue, Feb 17, 2009 at 11:50:44AM +0100, Rémi Dewitte wrote:
> Hello !
> Many thanks all for your answers !
> Managing to have the almost same performance whether in mutithreaded
> environment or not (even not using threads for this particular task) is
> something I would like to have anyway.
> I'll give a try to big buffers using Using.read. Any example code around ?
> And then why not try iao !

Try something straightforward to start with like reading the file just
one line at a time?  Especially if the lines are long this should give a
good improvement.