Shorter class names (suggestion)
namuol opened this issue · comments
Lou Acresti commented
I noticed toString(16)
is used on a hashed integer to derive unique classnames, but toString
actually supports a radix as large as 36, which would produce simple lowercase alphanumeric classnames which tend to be approximately 2 characters shorter. Why not use this instead?
Blake Embrey commented
You're definitely right, but it'd be a breaking change to alter the hash output. In fact, I already made that change in #6 and it'll be part of V1.
Lou Acresti commented
Ah, cool. Not sure why I didn't think to check that branch! 🍻