Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Does Caml have slow arithmetics ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier_Pérès <olivier.peres@l...>
Subject: Re: [Caml-list] Does Caml have slow arithmetics ?
David Brown wrote:
> 
> The only pointers that ocaml "cares" about (in the sense of the GC or
> polymorphic compare) are those that are allocated on the ocaml heap.

    Sure, but the reason given above to zero-tag integers was to have C 
pointers "look" like integers to the GC. However, C pointers are not 
necessarily aligned and thus may mislead the GC into trying to 
garbage-collect them.

    Olivier.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners