Cherry-pick: UnicodeSet performance enhancement

The start-up performance regression reported for Android
WebView and Windows Chrome is traced to UnicodeSet creation
for Unicode character properties.

This upstream PR speeds up UnicodeSet creation.

Upstream bug:

Upstream PR:

Bug: 899983,901532
Test: Android webview start-up perf.
Change-Id: Iffb6eac4ddde2cabd2f55fe718a9b4e3f39b4e05
Reviewed-by: Jungshik Shin <>
3 files changed