Message from JavaScript discussions

May 2017

— You could also target by multiple letters, instead of just the first. I'm not sure how much more effective that would be

Message permanent page


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

— Put in js file, and module.exports the class

— Should follow this api:
s = new Set()

— Sure

— Made the test better

— 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?

— Yeh

— Module.exports = MySet;

— Just do that at the bottom