qt6-bb10/qtdeclarative/tests/auto/qml/debugger/qqmlprofilerservice/data/batchOverflow.qml

21 lines
421 B
QML

import QtQml 2.2
QtObject {
function iterate(dictionaryTable, j) {
var word = "a" + j.toString()
dictionaryTable[word] = null;
}
Component.onCompleted: {
var dictionaryTable = {};
for (var j = 0; j < 256; ++j)
iterate(dictionaryTable, j);
}
property Timer timer: Timer {
interval: 1
running: true;
onTriggered: Qt.quit();
}
}