4 ms·
You're confusing reference counting (which is used primarily for R's copy-on-modify strategy) and its generational garbage collector.
by hadley 11y ago
You're confusing reference counting (which is used primarily for R's copy-on-modify strategy) and its generational garbage collector.
- jzwinck 11y agoIn that case, does HaskellR interfere with copy-on-modify in R, for example does it increment the reference count of R objects, then try to decrement them (which R doesn't or didn't really support), leaving those objects appearing to be multiply-referenced, and therefore forcing unnecessary copies as we see in plain R?