aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-13 11:14:05 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-13 11:14:05 -0800
commit4341d5ef32b4e723a35f1b037efb02eb369a97b8 (patch)
tree2853daa99192ba6585c315fdf293e627125fbd5b /native/src/defines.h
parent6a381444fa68fd925b555d03cc186ac36ea4fa35 (diff)
parentb960477952101633d053b459e669db46d3234ac3 (diff)
downloadlatinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.tar.gz
latinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.tar.xz
latinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.zip
am b9604779: Use placement new to construct the queue
* commit 'b960477952101633d053b459e669db46d3234ac3': Use placement new to construct the queue
Diffstat (limited to 'native/src/defines.h')
-rw-r--r--native/src/defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/defines.h b/native/src/defines.h
index d636e5197..fdca0b28b 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -205,6 +205,7 @@ static void dumpWord(const unsigned short* word, const int length) {
// Word limit for sub queues used in WordsPriorityQueuePool. Sub queues are temporary queues used
// for better performance.
#define SUB_QUEUE_MAX_WORDS 5
+#define SUB_QUEUE_MAX_COUNT 10
#define MAX_DEPTH_MULTIPLIER 3