diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-01 15:34:23 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-02 14:56:57 +0200 |
| commit | c0387967f81dcabe3087a741e337d01ca177d0b1 (patch) | |
| tree | 04a24e86ae9a55e8195828368fdc30706437a0bc /sources/pyside6/doc/tutorials/qmlsqlintegration/chat.qml | |
| parent | 6be651a994f1e6564441d8aa51c5c3ed3303b341 (diff) | |
snippets_translate: Speed up regexp evaluation
Precompile the regular expressions and store the stripped string.
Brings down user time from 2.3s to 2s, approximately.
Pick-to: 6.3
Change-Id: If929dc0c85cbe3e797bb3ec01eff9c434a8c5527
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlsqlintegration/chat.qml')
0 files changed, 0 insertions, 0 deletions
