Hi,

Given code that would look like :

QMap<SomeType> theMap;
....
{
  theMap[someIndex] = someValue;
}

Is it safe to assume that replacing the operator with the insert method
will improve the performance for new elements (copy constructor used
directly instead of default constructor + assignment operator ), while not
being slower for the modification of an element that already exists?

-- 
Olivier BARTHELEMY
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to