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
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 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.