Browse thread
Optimizing Float Ref's
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 <ted.sandler@gmail.com> 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