We're updating the issue view to help you get more done. 

Regex impl, clean up creation & use

Description

In the regular expression implementation, clean up the creation and use of UnicodeSets.

Several are created from pattern strings. It would be faster to create directly from properties.

The code predates set freezing. Do it where appropriate.

Remove the ascii fast path code, not necessary with frozen sets.

Some sets are created once and shared, others are recreated each time they are needed. Probably should share whenever possible, probably with lazy creation.

Environment

Status

Assignee

Andy Heninger

Reporter

Andy Heninger

tracCreated

Feb 24, 2015, 1:09 AM

tracOwner

andy

tracProject

ICU4C

tracReporter

andy

tracStatus

accepted

Components

Priority

medium