keith-turner commented on issue #88: URL: https://github.com/apache/accumulo-access/issues/88#issuecomment-3643131302
An alternative to using CharsetDecoder is to make accumulo access fail when the unicode replacement character is seen in a string. So accumulo access take strings for all of its API and fails in its impl when it see the unicode replacement char. This would simplify things and probably be more efficient. It would also be really quick to check for that specific character. For the Accumuo code we just need to benchmark the cost of going from byte[] to string when filtering. This can happen after checking the cache, so that would minimize the impact in the accumulo code. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
