Make oneOf and noneOf about 3X faster