From a64f865ec35587122779afb8162e7fb2cdf62171 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 17 Nov 2016 09:27:44 +0100 Subject: log --- log.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/log.md b/log.md index 389cd30..4025a30 100644 --- a/log.md +++ b/log.md @@ -453,3 +453,15 @@ The compacting collector has a **problem**, for example with `./twice -h 1k -gc -st`. It is difficult to find programs that have this problem, since the compacting collector is only used when the copying collector is deemed inefficient (when we would have to copy too much, copying is inefficient). + +### 2016-11-17 + +Did some tests with garbage collecting, records and HOF together, e.g.: + +```clean +:: Rec = { x :: Int, y :: String, z :: Real } +toRec x = { x = x, y = toString x, z = toReal (x + x) / 3.0 } +Start = append (fromto toRec 1 100) (fromto toRec 500 1000) +``` + +Seems to work fine so far. -- cgit v1.2.3