Re: [PATCH] Improve heap shrinkage calculation

2019-12-01 Thread Peter Bex
On Sun, Dec 01, 2019 at 11:22:37PM +0100, felix.winkelm...@bevuta.com wrote: > It seems to work fine, but "-:hs0" doesn't seem to work. I tried > > csi -:d -:hs0 > > (define x (make-vector 1000)) > > (##sys#gc) > > (##sys#gc) > > ... > > The heap is still shrunk on each

Re: [PATCH] Improve heap shrinkage calculation

2019-12-01 Thread felix . winkelmann
> Hi all, > > As suggested by Sven Hartrumpf in #1379, the current logic which > decides when the heap should be shrunk is confusing and looks > "obviously wrong". > > For one, the "count" variable indicates the actual used memory. > This is in one half of the heap, so it seems incorrect to me to

[PATCH] Improve heap shrinkage calculation

2019-12-01 Thread Peter Bex
Hi all, As suggested by Sven Hartrumpf in #1379, the current logic which decides when the heap should be shrunk is confusing and looks "obviously wrong". For one, the "count" variable indicates the actual used memory. This is in one half of the heap, so it seems incorrect to me to calculate the

[PATCH 3/3] Let scrutinizer infer types for foreign types with retconv/argconv given

2019-12-01 Thread megane
Hi, Here's some more improvement on the #1649 issue. This patch just drops the procedure annotation if scrutinizer can infer it anyway. This gives the scrutinizer a change to make the type a bit more accurate. It's still not optimal, though. The first two commits are just straight-forward