Message from JavaScript discussions

November 2017

— I have become a ramda evangelist


So there's the problem of switch but also the problem of running a block if a value equals one of many things

— Like the same block

— isOneOf(thing, x, y, z).then(...);

— Includes is very slow

— So much that I replace it with [...].indexOf(thing) !== -1

— Don't know why, haven't read source code for it yet, but damn is it slow compared to indexOf

— Includes is slower than indexOf?

— Wat

— Veeeeery

— It was wrecking my template enigne

— And set implementations