Skip to content
Permalink
Browse files

[CONJ-628] small optimization to read metadata faster

(cherry picked from commit d92ae73)
  • Loading branch information...
rusher committed Jul 25, 2018
1 parent 0991ce7 commit 7afc70b469b20d1cf70ad8ee9bc2fc3192abe215
@@ -231,7 +231,7 @@ private String getString(int idx) {
for (int i = 0; i < idx; i++) {
buffer.skipLengthEncodedBytes();
}
return new String(buffer.getLengthEncodedBytes(), Buffer.UTF_8);
return buffer.readStringLengthEncoded(Buffer.UTF_8);
}

public String getDatabase() {

0 comments on commit 7afc70b

Please sign in to comment.
You can’t perform that action at this time.