Commit Graph

3 Commits

Author SHA1 Message Date
Dmitri Hrybenko
d33a09920d Unicode trie generator: improve comments and function names
Swift SVN r19398
2014-07-01 13:18:26 +00:00
Dmitri Hrybenko
ff37a42920 Unicode tables: DRY in GraphemeClusterBreakPropertyTable.symbolic_values
Swift SVN r19397
2014-07-01 13:18:24 +00:00
Dmitri Hrybenko
4814e00fda stdlib/String: implement Unicode extended grapheme cluster segmentation
algorithm

The implementation uses a specialized trie that has not been tuned to the table
data.  I tried guessing parameter values that should work well, but did not do
any performance measurements.

There is no efficient way to initialize arrays with static data in Swift.  The
required tables are being generated as C++ code in the runtime library.

rdar://16013860


Swift SVN r19340
2014-06-30 14:38:53 +00:00