05.11.2013, 16:45, "Olivier BARTHELEMY" <barthel...@geovariances.com>:
> 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?

Use profiler.

-- 
Regards,
Konstantin
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to