On Monday, 3 December 2018 11:43:17 PST André Pönitz wrote: > > 1) is it worth it? > > No. > > It's really rare to need a container of that size in a Qt context, > and if one does, there's always std:: containers - which are likely > to be used at sizes much smaller than INT_MAX anyways.
It may have been in the past, but I don't think we can honestly say it will continue so in the future. As a simple example, someone may want to load a file larger than 2 GB via QIODevice::readAll(). It's probably a stupid idea to do that, but with a fast SSD that operation could complete in 10 seconds or less. Asking users to use std:: containers is not sufficient if we don't use them ourselves. How would the case above return a QByteArray with more than 2 GB? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
