diff options
-rw-r--r-- | log.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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. |