summaryrefslogtreecommitdiff
path: root/LICENSE.LGPLv21
diff options
context:
space:
mode:
authorViktor Engelmann <viktor.engelmann@qt.io>2017-12-21 16:11:54 +0100
committerViktor Engelmann <viktor.engelmann@qt.io>2018-01-04 11:21:27 +0000
commit75e9858a87307f61b478735f73c0a60c52c25eb8 (patch)
tree2f45bae9669f37c17317e1f28a57a36be26f7473 /LICENSE.LGPLv21
parent4e2f2f60c2b40e462be2d75cd81f149522097734 (diff)
downloadqtxmlpatterns-75e9858a87307f61b478735f73c0a60c52c25eb8.tar.gz
Significantly improve memory usage in XsdStateMachine::toDFA
We now mark DFA state sets immediately when they are enqueued and check for that mark before enqueing them. This way, we save a lot of memory when a set has many states and is encountered often. In the referenced bug report, there were 60000 copies of a set with 40000 entries, wasting tens of gigabytes of memory. Task-number: QTBUG-65067 Change-Id: Iec3a04c8badfac29faefbba22c2942ed104effbb Reviewed-by: Kari Hormi <kari.hormi@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'LICENSE.LGPLv21')
0 files changed, 0 insertions, 0 deletions