commit | 6bb701155931fbf3f96aaea1c8c7b0ba4b521b3f | [log] [tgz] |
---|---|---|
author | Dan Zivkovic <zivkovic@google.com> | Tue Apr 07 11:18:58 2015 -0700 |
committer | Dan Zivkovic <zivkovic@google.com> | Tue Apr 07 11:18:58 2015 -0700 |
tree | bd1295b36f0ffadc406248d5d04540a8aebf284b | |
parent | 3e66c6357d5cc9e8e3ef8e63c2334d2b92465061 [diff] |
Read less data from the input connection. Currently, we read 256 (max word size) * 5 (max N-gram size + 1) characters from the input connection when building our context. This is overkill. We don't need more than 80 characters, regardless of which decoder we use. Bug 19987461. Change-Id: Ie3a321cf2482adbacd8006d9d86e6601097c15ed