Closed hamidb80 closed 1 year ago
Thank you, isSet
is way more cleaner, but as I benchmarked long time ago, formatName
is faster than an extra string concatenation in combine with toLowerAscii
could just be two character add
s.
I can you please do a benchmark with benchy
to see which one is faster?
nvm, I did it and thier speed are same.Thank you!
name ............................... min time avg time std dv runs
predefined ......................... 0.001 ms 0.001 ms ±0.000 x1000
tolower ............................ 0.001 ms 0.001 ms ±0.000 x1000
Hey, it's just a clean up