Message from JavaScript discussions

May 2017

— Without ever looking at the actual set :D

— 

When the dataset gets diverse enough the first few checks will always pass, so this will gradually decrease in speed

— So is it better than a linear lookup? We'll find out when it's working in a bit if you want to throw some tests at it

Message permanent page

— Just send when you're ready

— 

var mySet = new StringSet(function* () {
yield "Hello World";
yield "Morning Sunshine";
yield "Evening Gentlemen";
});

iterable support :D

Message permanent page

— Ooops, that has to be initialized prior, haha

— 

var mySet = new StringSet((function* () {
yield "Hello World";
yield "Morning Sunshine";
yield "Evening Gentlemen";
})());

Message permanent page

— Should work

— Will it consume the entire iterable at once?

— Yeah it should

— And it should take arrays too

— An array is an iterable