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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-08-11 (19:57)
From: Hal Daume III <hdaume@I...>
Subject: Re: [Caml-list] comparing references
> > I ask because my sum
> > types can be big (I'm dealing with trees), so it would be good if when I
> > want to check if two trees are the same, all I need to do is look at the
> > references to them.
> Use == if you want to compare addresses.

How much do you need to worry about, ex., the GC moving stuff around and
messing this up?

 - Hal

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