diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-08 18:52:11 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-15 14:37:51 (GMT) |
commit | eb2717ccbb20334b52aea269303258fe6236c117 (patch) | |
tree | 9e6f55d31a32bb9813ff45d3b8935710b509eb8b /tests | |
parent | 1501429a78d647f922dfdb4432fbfac333143c91 (diff) | |
download | Qt-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