aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/words_priority_queue.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use C++ template for min/max•••To be more friendly for off-device regression test. Change-Id: I7edf4c9de73915aad9c1760ace7df3177ed3c4e9 Tadashi G. Takaoka2012-02-061-1/+3
* Do other error correction for the second word of two word correction•••result: I4e0b68a12190933f9 Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566 satok2012-01-251-1/+1
* Two words error correction with other error correction for the first word•••+1 26 -1 5 +2 0 -2 0 +3 0 -3 0 +4 9 -4 25 +5 20 -5 21 +6 13 -6 6 +7 15 -7 26 Change-Id: Iad682d417a6bb42b11ca6e60157698ca66fef3ff satok2012-01-191-0/+29
* Prepair for advanced two words error correction•••Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8 satok2012-01-171-3/+2
* Store suggestions for each input length for missing space algorithm etc.•••Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c satok2012-01-161-0/+7
* New LOG lib•••Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe satok2012-01-131-4/+4
* Use placement new to construct the queue•••Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9 satok2012-01-131-0/+1
* Fix indentations.•••Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24 Ken Wakasa2012-01-061-2/+3
* Prepare for proximity + two words suggestion•••Change-Id: I3637f9bec1f4a3c5953498c4562e1f17a7bf593c satok2011-12-161-0/+4
* Add words priority queue pool•••Change-Id: I152df7b876a1756b69ded2ca4fb3ee26b38c971f satok2011-12-151-26/+32
* Use priority queue for native string buffer•••+1 2 -6 2 Performance before ==== test finished, terminate logcat ===== (0) 100.34 (0.26%) (1) 37149.26 (95.30%) (2) 8.43 (0.02%) (3) 11.18 (0.03%) (4) 9.92 (0.03%) (5) 1330.60 (3.41%) (6) 250.46 (0.64%) (20) 12.41 (0.03%) Total 38982.50 (sum of others 38872.59) after ==== test finished, terminate logcat ===== (0) 97.65 (0.26%) (1) 35427.43 (95.32%) (2) 10.30 (0.03%) (3) 8.95 (0.02%) (4) 11.01 (0.03%) (5) 1224.67 (3.30%) (6) 243.76 (0.66%) (20) 40.91 (0.11%) Total 37167.04 (sum of others 37064.68) Change-Id: Id4d3b88a9cdef765affc52973aeac951ecc6a8ca satok2011-12-131-0/+146