mirror of https://github.com/PCSX2/pcsx2.git
![]() Reduces memory useage during memory searching process. - Minimizes passing by copy, uses references to avoid causing copies - Deletes FutureWatcher ptr when no longer needed to avoid leaking memory (thanks Fobes) - Updates the search results vector in-place so that no extra copies are needed. - Makes use of std::move to transfer resources instead of keeping two copies. - No longer keeps a copy of prior search results in addition to the active search, the stored results are transferred to the search worker and then transferred back. More improvements to be made, but making a first that should make a decent impact. Also: Updates storage of prior results a s a vector now. Prior since the results were stored in a hashmap, the .keys() function needed to be used to index at an arbitrary point when loading results into the UI. This caused a big spike in memory usage when the results count is particularly large. Using a vector optimizes this as we don't need to add any memory when indexing in this way. Also unlike before when we used vector, we're also removing elements in place when doing filter searches so we don't need two vectors. |
||
---|---|---|
.. | ||
Debugger | ||
GameList | ||
Settings | ||
Tools/InputRecording | ||
Translations | ||
resources | ||
AboutDialog.cpp | ||
AboutDialog.h | ||
AboutDialog.ui | ||
AutoUpdaterDialog.cpp | ||
AutoUpdaterDialog.h | ||
AutoUpdaterDialog.ui | ||
CMakeLists.txt | ||
ColorPickerButton.cpp | ||
ColorPickerButton.h | ||
CoverDownloadDialog.cpp | ||
CoverDownloadDialog.h | ||
CoverDownloadDialog.ui | ||
DisplayWidget.cpp | ||
DisplayWidget.h | ||
EarlyHardwareCheck.cpp | ||
LogWindow.cpp | ||
LogWindow.h | ||
MainWindow.cpp | ||
MainWindow.h | ||
MainWindow.ui | ||
PrecompiledHeader.cpp | ||
PrecompiledHeader.h | ||
QtHost.cpp | ||
QtHost.h | ||
QtKeyCodes.cpp | ||
QtProgressCallback.cpp | ||
QtProgressCallback.h | ||
QtUtils.cpp | ||
QtUtils.h | ||
SettingWidgetBinder.h | ||
SetupWizardDialog.cpp | ||
SetupWizardDialog.h | ||
SetupWizardDialog.ui | ||
Themes.cpp | ||
Translations.cpp | ||
pcsx2-qt.vcxproj | ||
pcsx2-qt.vcxproj.filters |