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
[Caml-list] Even at compile time 2*2=4!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-20 (08:41)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Even at compile time 2*2=4!

Pierre Weis wrote:

> (The constants written at compile time in the executable are stored to
> disk anyway and have to be read back when launching the program: in
> the case of the CAS program, loading those huge constants with the
> executable was slower than loading a small executable that re-computed
> them from scratch!)
> Life is not that simple...
> Pierre Weis

I agree. This method is only useful if computational 
complexity is much greater than space complexity. Besides, 
even complexity is actually a fairly volatile concept in 
this case, because we are talking about computing a constant 
function (no input).

To be honest, I can't think of a situtation where I'd use my 
own hack. I wonder what was Jakob's reason for posting 


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: