News for hackers. Stuff that matters.
Re:For Better Computing, Liberate CPUs from Garbage Collection by holy_city on Thursday May 09, 2019 @02:05PM (#19870605)
imo you solve these problems by segregating the ownership logic and relationship logic of the data structure.

In other words the DAG would never be traversed to allocate or free memory, each vertex would be held by a vector or other container and the edges represented by an adjacency list/matrix.

It's faster and safer than pointer chasing.

There are no comments on this comment yet.