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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-09 (20:56)
From: Lauri Alanko <la@i...>
Subject: Re: [Caml-list]
On Fri, Oct 04, 2002 at 04:58:24PM +0900, Jacques Garrigue wrote:
> Using the address would be ok for equality, but not for compare, as
> the GC may move things around: the result of compare might change.

Why does there need to be an ordering for objects in the first place?
This seems about as sensible as ordering closures (ie. not very).

Alternatively, if the stability of addresses is important, couldn't
objects be allocated in a special heap where GC would be non-copying?

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