-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
According to this http://jsperf.com/regex-vs-tolowercase toLowerCase is slow.
My test consist on doing 1000 multi each containing 100 sadd (real use-case for me).
Replacing toLowerCase with regexp increase performance by 5%, removing possibility of uppercase (using === string with no uppercase alternative) increase performance by 10%. Is there any good reason for allowing different case for functions ? When people use redis most of the time performance is critical.
Metadata
Metadata
Assignees
Labels
No labels