basho / riak-java-client

The Riak client for Java.
Apache License 2.0
266 stars 158 forks source link

Reduce the number of charset lookups performed in BinaryValue under t… #688

Closed srgg closed 7 years ago

srgg commented 7 years ago

Description

Getting rid of looking up UTF charset each time when BinaryValue.createFromUtf8() and BinaryValue. toStringUtf8() is called

Motivation and Context

To speed-up corresponding operations

How Has This Been Tested?

It is expected that this change will be covered by existing tests

Types of changes

Inapplicable

Checklist:

Pull requests that are small and limited in scope are most welcome.