- 
    Bug 
- 
    Resolution: Unresolved
- 
    P2: Important 
- 
    None
- 
    5.13.0
- 
    None
The documentation regarding how Qt allocates storage dynamically using containers such as QString, QByteArray, and others is extremely out of date.
Here are the docs: https://doc.qt.io/qt-5/containers.html#growth-strategies
The claim is that memory is allocated in 4KB pages after a certain point.
However, according to this commit, Qt switched over to using power-of-two allocation like many other languages/implementations use today. See here: https://github.com/qt/qtbase/commit/fb8be9905d5f3216edc3fbb72b8ce1c380737eac
It was misleading to me at first since I was wondering how allocating in 4KB pages would be any better than doing a power-of-two allocation.
- relates to
- 
                     QTBUG-86584
        Update Qt Core Container Classes Overview page QTBUG-86584
        Update Qt Core Container Classes Overview page-         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-77275 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 274781,3 | Update container growth strategy documentation | dev | qt/qtbase | Status: NEW | 0 | 0 |