commit | b08a07165fdc9ee6df40bbce94676755461ff3e0 | [log] [tgz] |
---|---|---|
author | Roozbeh Pournader <roozbeh@google.com> | Tue Jun 28 16:24:08 2016 -0700 |
committer | Roozbeh Pournader <roozbeh@google.com> | Thu Jun 30 15:29:38 2016 -0700 |
tree | 72cff3f5ed6e131921fae155d3811694a923c710 | |
parent | 9dad5811d7232c85c07761dddd9ebd035524f955 [diff] |
Refactor WordIterator to avoid copying to internal buffers Previously, since the assumption was that the string is passed down to ICU4C for the iteration to run, a window of text was copied and maintained. But now, we can just pass an iterator to the input CharSequence directly to ICU4J. Bug: 21832431 Change-Id: Ife5dfdb1d90b3eda2817d4d75747b7abc34a2299