diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-08-11 22:01:55 +0200 |
---|---|---|
committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-08-11 20:51:00 +0000 |
commit | 92624025eab667e096eb13993fa7ca7c5534e0ff (patch) | |
tree | 70b160e7dfcc53ac12ba00c3cb5459ea0cb76018 /src/qml/memory | |
parent | a2ccdd33888cb0eb4516089d3418dd01c8cca25c (diff) |
Do not sort the vector of chunks
I don't see why the vector needs to be sorted by the base()
addresses of the contained PageAllocations.
Change-Id: I31946a50075c64d01c6de98964ea42ebfc936c68
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/memory')
-rw-r--r-- | src/qml/memory/qv4mm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/memory/qv4mm.cpp b/src/qml/memory/qv4mm.cpp index 24be663ed7..03e78df91a 100644 --- a/src/qml/memory/qv4mm.cpp +++ b/src/qml/memory/qv4mm.cpp @@ -275,7 +275,6 @@ Heap::Base *MemoryManager::allocData(std::size_t size) Q_V4_PROFILE_ALLOC(m_d->engine, allocSize, Profiling::HeapPage), OSAllocator::JSGCHeapPages); m_d->heapChunks.append(allocation); - std::sort(m_d->heapChunks.begin(), m_d->heapChunks.end()); header = reinterpret_cast<Data::ChunkHeader *>(allocation.base()); header->itemSize = int(size); |