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
Optimizing Float Ref's
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-03-31 (20:00)
From: Dmitry Bely <dmitry.bely@g...>
Subject: Re: [Caml-list] Optimizing Float Ref's
On Wed, Mar 31, 2010 at 11:52 PM, Ted Sandler <> wrote:
>> rpretation of Xavier's words was that the compiler would
>> completely optimize out memory allocation and keep !m in register. I
>> can live with the allocation but not at every iteration... How to
>> rewrite the function to get rid of it? My best achievement so far is
> Try tail-recursion.

Won't work. Show the code.

- Dmitry Bely