commit | 003b431540460f1922add832b445e15b86aaaaba | [log] [tgz] |
---|---|---|
author | Andy Heninger <andy.heninger@gmail.com> | Fri Jun 26 17:52:40 2020 -0700 |
committer | Andy Heninger <andy.heninger@gmail.com> | Tue Jul 21 14:39:15 2020 -0700 |
tree | a64c04454f620000d65efb4880e84accc52cb67e | |
parent | 2de2585f1b47e0123c2f5e64b63db88a8ec62e85 [diff] |
ICU-13590 RBBI, improve handling of concurrent look-ahead rules. Change the mapping from rule number to boundary position to use a simple array instead of a linear search lookup map. Look-ahead rules have a preceding context, a boundary position, and following context. In the implementation, when the preceding context matches, the potential boundary position is saved. Then, if the following context proves to match, the saved boundary is returned as an actual boundary. Look-ahead rules are numbered, and the implementation maintains a map from rule number to the tentative saved boundary position. In an earlier improvement to the rule builder, the rule numbering was changed to be a contiguous sequence, from the original sparse numbering. In anticipation of changing the mapping from number to position to use a simple array.
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
master
branch)Build | Status |
---|---|
TravisCI | |
Azure Pipelines | |
Azure Pipelines (Exhaustive Tests) | |
Azure Pipelines (Valgrind ICU4C) | |
AppVeyor | |
Fuzzing |
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependenciesPlease see ./icu4c/LICENSE (C and J are under an identical license file.)
Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License