(split) Optimize removal of reference count variables from lists to twice the speed (if they are added more than once.) i.e. while (foo.contains(bar)) foo.remove(bar) becomes      while (foo.remove(bar)) ; Task 160022
(split) Optimize removal of reference count variables from lists to twice the speed (if they are added more than once.) i.e. while (foo.contains(bar)) foo.remove(bar) becomes      while (foo.remove(bar)) ; Task 160022

[git-p4: depot-paths = "//depot/qtjambi/main/": change = 261866]

qt-generator/qt-generator,qt-generator/qt-generator,qt-generator/qt-generator