Skip to content
#

garbage-collection

Here are 227 public repositories matching this topic...

pliniker
pliniker commented Aug 21, 2020

Originally, Array didn't have runtime-borrow capability and I made the (hasty) decision to base the Array struct on using Cell<RawArray<T>>.

It is clear that it makes far more sense to use RefCell now, both from a semantic and performance basis. The explicit borrowflag can also be removed.

Source: interpreter/src/array.rs:42
Book: booksrc/chapter-interp-arrays.md

Improve this page

Add a description, image, and links to the garbage-collection topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the garbage-collection topic, visit your repo's landing page and select "manage topics."

Learn more