Added a "Vanilla" implementation using a set and a volatile reference to an array