3 ms·
Preallocate the map and the entry ({V, next, prev}) objects. Replace next and prev and the map value with indices.
by morelisp 5y ago
Preallocate the map and the entry ({V, next, prev}) objects. Replace next and prev and the map value with indices.