Il 17/05/19 16:46, Bernhard Lindner ha scritto:
I've done this experiment for QMap / QHash / QSet, where keeping COW at
the cost of an extra indirection (dptr -> [refcount + std:: class] ->
actual data) is more acceptable since these classes jump all over the
memory anyhow. Basically "it worked", still requiring a few changes
though, e.g. std::unordered_map iterators are forward, QHash ones are
bidirectional. If the SIC is acceptable, something to consider for Qt 6.
Are there any plans/discussions how to procede with that experiment?

It was worth a try after we discussed this possibility a couple of years ago at QtCS. I don't know if it's still interesting to pursue.

Thanks,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to