Comment Comment by olivernn Using `charCodeAt()` for numeric keys is an interesting optimisation, I'm definitely going to try that out with Lunr.js.I'm also interested in _why_ that is quicker though, aren't all object keys converted to strings anyway? parent olivernn 9 years ago
I'm also interested in _why_ that is quicker though, aren't all object keys converted to strings anyway?