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] 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.


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