yonik commented on issue #27: Murmur3fix URL: https://github.com/apache/commons-codec/pull/27#issuecomment-555543920 > I do not think that we should enforce the UTF-8 encoding on the char sequence. A char is a 16-bit unsigned integer. A simpler approach would be to encode the chars as unsigned 16-bit integers. It looks like this is originally mine, so I'll chime in... the purpose of this method is not a generic string hash, but an optimization for when one wants murmur3 over UTF-8 specifically. This level of specification is needed for systems that need well defined hashes to enable matching in different languages (typically for things like routing in distributed systems.)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
