Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Finalisation in 2.02
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <Damien.Doligez@i...>
Subject: Re: Finalisation in 2.02
>From: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>
>
>What's append when we change the finalization parameters values ?
>We alloc an object of type toto with 1,200 and another object toto with
>9,146
>
>It's the last number which is keep by GC (here 146) and erase previous
>value (200)
>The same with the pound (1 and 9) or they are adding -> 1+9 = 10 < 146 ?

Each pair of numbers is actually a rational number and they are added
together to tell the GC how advanced it should be into its cycle.

In your example, you get 1/200 + 9/146 = 973/14600, or about 6.6 %

-- Damien