Re:Lessons in Managing Haskell Memory
by rwmj on Thursday April 09, 2020 @09:04AM
(#22822114)
If you explore ways it might work, I think you'll see that's not easy. For example, let's say you have an "alloc_compact" function. To put a tuple "directly" into the compact heap you might write:
But wait! You've actually allocated (1,2) and then copied it.
[ Parent
| on HN ]
There are no comments on this comment yet.