Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert the
RefSet
primitive to a proper class and use a Set
inte…
…rally The `RefSet` primitive predates ES6, so that most likely explains why an object is used internally to track the entries. However, nowadays we can use built-in JavaScript sets for this purpose. Built-in types are often more efficient/optimized and using it makes the code a bit more clear since we don't have to assign `true` to keys anymore just to indicate their presence.
- Loading branch information