— All these checks are ordered from "least expensive" to "most expensive" too, so if we can deduce that the string is not in the set from a less expensive method, we just saved time :D
Message permanent page
— Put in js file, and module.exports the class
— Should follow this api:
s = new Set()
s.add(str)
s.has(str)
s.delete(str)
— I am eager to see if it is slower or faster
— As the dataset diversifies the algorithm will slow down, of course, but I am wondering about overall speed average
Message permanent page
— The nodejs module.exports?
— Module.exports = MySet;