I've got a QMultiHash<QString,qint32> that I am attempting to save to file via QDataStream. Prior to this particular structure being saved I save a few other QHash and QMultiHash instances.
The problem I am running into is that when i hit this save part in my code, it just sits there. For several minutes. There are ~134,000 entries in the QMultiHash. With a smaller size it worked just fine, and took less than 45 seconds for the entire save operation. Now, with the larger data set it is exceeding several minutes (6+) and not finishing (I have qDebug() statements wrapping it to track progress). The destination file's size grows very, very, very slowly.
Is there an upper bounds to saving these?
Edit: The smaller version has around 80k entries, and saves almost immediately.
Bookmarks