From dd1ea6815cf4f5ff8391f58e9f5ac4bbb9eb243d Mon Sep 17 00:00:00 2001 From: timo <1398557+timo-a@users.noreply.github.com> Date: Wed, 3 Apr 2024 01:18:10 +0200 Subject: [PATCH] demo change --- src/test/java/perf/ManualCharAccessTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/perf/ManualCharAccessTest.java b/src/test/java/perf/ManualCharAccessTest.java index 870065eb30..e27f3af024 100644 --- a/src/test/java/perf/ManualCharAccessTest.java +++ b/src/test/java/perf/ManualCharAccessTest.java @@ -4,7 +4,7 @@ public class ManualCharAccessTest { protected int hash; - protected final static byte[] SMALL_BYTE_CODES = new byte[256]; + protected final static byte[] SHALL_BYTE_CODES = new byte[256]; protected final static int[] SMALL_INT_CODES = new int[256]; @@ -16,13 +16,13 @@ public class ManualCharAccessTest if (!(i == '\r' || i == '\n' || i == '\t')) { INT_CODES[i] = 1; BYTE_CODES[i] = 1; - SMALL_BYTE_CODES[i] = 1; + SHALL_BYTE_CODES[i] = 1; SMALL_INT_CODES[i] = 1; } } INT_CODES['\\'] = 2; BYTE_CODES['\\'] = 2; - SMALL_BYTE_CODES['\\'] = 2; + SHALL_BYTE_CODES['\\'] = 2; SMALL_INT_CODES['\\'] = 2; } @@ -112,7 +112,7 @@ private void test() throws Exception private final long readClassic(int REPS, char[] input, char[] output) throws Exception { long start = System.currentTimeMillis(); - final byte[] codes = SMALL_BYTE_CODES; + final byte[] codes = SHALL_BYTE_CODES; final int MAX = 256; while (--REPS >= 0) {