[Interest] Small survey on necessary Qt Container size
Philippe
philwave at gmail.com
Tue Sep 6 08:46:54 CEST 2022
On Mon, 5 Sep 2022 19:25:59 +0200
A. Pönitz <apoenitz at t-online.de> wrote:
> How often do people /need/ /Qt/ containers with /more than
> 1 billion elements/ ?
On one hand, I could say anyone that needs it once in a while could
simply use a std container.
On the other hand, for the "container of bytes" QByteArray, one could
imagine more potential cases.
I would like to reiterate something I mentioned a few years ago:
for coherence, values such as "QAbstractSlider::value"
should also be qsizetype and not int.
To scroll through a view of data (not necessarily in memory), it makes perfect sense to have a 64-bit range.
Actually, it makes more sense than 64-bit containers... Hopefully for Qt7.
(I have had this particular need for 10 years actually...)
Philippe
More information about the Interest
mailing list