remove a nasty iteration causing big slow down
Oh, I found lmm_constraint_used(). Now we use this function instead of
nasty iteration.
$ ./examples/msg/cloud/scale ../examples/platforms/g5k.xml
The output of the old code:
duration 1.835514
duration 1.934927
duration 2.011892
duration 1.906476
duration 1.944293
duration 1.922941
duration 2.000016
duration 1.944532
duration 1.978881
duration 1.901449
The output of the new code:
duration 0.294958
duration 0.298755
duration 0.304680
duration 0.296415
duration 0.301704
duration 0.310724
duration 0.303856
duration 0.304807
duration 0.311928
duration 0.303926