summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-10-08 18:52:11 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-10-15 14:37:51 (GMT)
commiteb2717ccbb20334b52aea269303258fe6236c117 (patch)
tree9e6f55d31a32bb9813ff45d3b8935710b509eb8b /tests
parent1501429a78d647f922dfdb4432fbfac333143c91 (diff)
downloadQt-eb2717ccbb20334b52aea269303258fe6236c117.zip
Qt-eb2717ccbb20334b52aea269303258fe6236c117.tar.gz
Qt-eb2717ccbb20334b52aea269303258fe6236c117.tar.bz2
QGAL: avoid having to re-calculate lists of variables
Change the functions solvePreferred() and solveExpanding() to take a list of variables, so they don't need to calculate them based on the list of constraints. That way, the trunk variables are calculated only once. This commit also reduce the scope of 'sizeHintConstraints' variable instead of clearing and reusing it. Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions