aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/binary_format.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-06-14 11:25:50 -0700
committersatok <satok@google.com>2012-06-14 15:57:28 -0700
commit1bc038c5e40bd0fa7a44331a569abe3ae88f0152 (patch)
tree112924a6267b25836b48c01f8cc10d0382f67cd3 /native/jni/src/binary_format.h
parent78573f2e8a7dbf67e16fa4dd531f33cba0df7ff5 (diff)
downloadlatinime-1bc038c5e40bd0fa7a44331a569abe3ae88f0152.tar.gz
latinime-1bc038c5e40bd0fa7a44331a569abe3ae88f0152.tar.xz
latinime-1bc038c5e40bd0fa7a44331a569abe3ae88f0152.zip
Move correction state to stack memory
*Before (0) 13.18 (0.01%) (1) 93025.41 (62.06%) (2) 10.75 (0.01%) (3) 10.50 (0.01%) (4) 117.50 (0.08%) (5) 55678.98 (37.14%) (6) 9.09 (0.01%) (20) 883.84 (0.59%) Total 149898.24 (sum of others 149749.25) *After (0) 17.41 (0.01%) (1) 92673.41 (61.95%) (2) 10.62 (0.01%) (3) 10.37 (0.01%) (4) 120.96 (0.08%) (5) 55741.18 (37.26%) (6) 11.01 (0.01%) (20) 862.72 (0.58%) Total 149595.52 (sum of others 149447.68) Change-Id: Ia5a25a544fc388e4dab1e08d8f78d5117b249cf3
Diffstat (limited to 'native/jni/src/binary_format.h')
-rw-r--r--native/jni/src/binary_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/jni/src/binary_format.h b/native/jni/src/binary_format.h
index 51bf8ebbc..214ecfa8d 100644
--- a/native/jni/src/binary_format.h
+++ b/native/jni/src/binary_format.h
@@ -25,6 +25,7 @@ namespace latinime {
class BinaryFormat {
private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(BinaryFormat);
const static int32_t MINIMAL_ONE_BYTE_CHARACTER_VALUE = 0x20;
const static int32_t CHARACTER_ARRAY_TERMINATOR = 0x1F;
const static int MULTIPLE_BYTE_CHARACTER_ADDITIONAL_SIZE = 2;