diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-03-08 13:51:55 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-03-20 07:54:01 +0000 |
commit | bbdc1b5ccbb19405f997cd67ec53b2c4860105f7 (patch) | |
tree | 3318bd920c92682af35bda138739eb12bceb8f55 /src/plugins/platforms/cocoa/qnsview.mm | |
parent | 04f3534815a7b06a0c66989217f11885b96630d8 (diff) |
Share and cache QRegExp engines where possible
QRegExpEngine is immutable once created, so we can easily share
them between different QRegExp instances. This requires a QHash for
engines that are currently in use in addition to the cache for
currently unused engines.
Task-number: QTBUG-65710
Change-Id: I165c12a7b065c488ecd14258a7cdfe0e62666632
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qnsview.mm')
0 files changed, 0 insertions, 0 deletions