> I don't think that (non-)COW is a problem in the scenario under > discussion. Having the thing COW makes the porting simpler at the cost of suboptimal performance. If we wrote a COW container as a drop-in replacement for QMap or QHash with equivalent behavior we could just s/QMap/QFlatMap/g in Qt code and the issue would largely be solved. Ulf