4 ms·
in a persistent data structure, you don't actively remove, delete, or change anything. rather each time you make a 'change', you create a new structure which po
by sigstoat 17y ago
in a persistent data structure, you don't actively remove, delete, or change anything. rather each time you make a 'change', you create a new structure which points to, and reuses as much of the old one as possible. then the garbage collector removes the unused bits, if any.