pcsx2/pcsx2-qt
Dan McCarthy d309e24e60 Debugger: Reduces RAM useage for searches (Act 1)
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.
2024-03-14 01:42:11 +01:00
..
Debugger Debugger: Reduces RAM useage for searches (Act 1) 2024-03-14 01:42:11 +01:00
GameList Qt: Add mention zso formatted roms 2024-02-02 09:36:45 +00:00
Settings Qt: Toggle for DualSense Player LED 2024-03-07 12:37:00 +10:00
Tools/InputRecording Qt: Remove non-printable character from some strings 2024-01-18 15:02:20 +00:00
Translations Qt: Update Base Translation 2024-03-03 00:10:02 +00:00
resources FSUI: Icon treatments 2024-03-02 15:08:11 +00:00
AboutDialog.cpp Build: Simplify Git version extraction 2024-01-15 15:35:21 +10:00
AboutDialog.h Qt: Add third-party license statements 2024-01-07 22:20:43 +10:00
AboutDialog.ui Qt:i18n: Adding I18N comments for translators, minor typo fixes (#8048) 2023-03-18 16:14:55 -05:00
AutoUpdaterDialog.cpp Qt: Look for a file named DefaultUpdaterChannel.h 2024-01-15 15:35:21 +10:00
AutoUpdaterDialog.h Qt: Invoke Updater as Administrator for Program Files installs 2024-01-14 18:03:10 +10:00
AutoUpdaterDialog.ui Qt/Updater: Move download size indicator to better placement 2023-10-17 13:10:34 +10:00
CMakeLists.txt Debugger: Migrates Memory Search tab to it's own widget 2024-02-21 00:25:40 +00:00
ColorPickerButton.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
ColorPickerButton.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
CoverDownloadDialog.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
CoverDownloadDialog.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
CoverDownloadDialog.ui Qt: Icon Revamps 2023-06-15 20:51:15 +10:00
DisplayWidget.cpp FSUI: Allow toggling fullscreen when VM is paused 2024-01-13 12:27:05 +10:00
DisplayWidget.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
EarlyHardwareCheck.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
LogWindow.cpp Qt: Fix log window disabling itself on close 2024-03-08 23:43:13 +10:00
LogWindow.h Qt: Fix log window disabling itself on close 2024-03-08 23:43:13 +10:00
MainWindow.cpp Qt: Default to No for exit Memcard abort msgbox 2024-02-06 21:49:58 +00:00
MainWindow.h FullscreenUI: Link create memory card to Qt dialog 2024-01-18 21:48:22 +10:00
MainWindow.ui Qt: Icon Refresh 2024-01-26 13:02:36 +10:00
PrecompiledHeader.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
PrecompiledHeader.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
QtHost.cpp Path: Add CreateFileURL() 2024-03-13 20:13:35 +10:00
QtHost.h FullscreenUI: Link create memory card to Qt dialog 2024-01-18 21:48:22 +10:00
QtKeyCodes.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
QtProgressCallback.cpp Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
QtProgressCallback.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
QtUtils.cpp Qt: Fix use of tr outside of Qt class 2024-01-26 12:48:37 +10:00
QtUtils.h Qt: Use proper Show in Finder on macOS 2024-01-26 12:48:37 +10:00
SettingWidgetBinder.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
SetupWizardDialog.cpp Qt: Add runtime downloading of CJK OSD fonts 2024-01-07 17:23:57 +10:00
SetupWizardDialog.h Misc: Remove explicit PCH include, switch to SPDX 2023-12-24 14:03:14 +10:00
SetupWizardDialog.ui UI: Fix broken setup guide links 2024-03-05 00:51:03 +00:00
Themes.cpp Qt: Add log window 2024-01-12 12:40:46 +10:00
Translations.cpp Qt: Translation Fixes 2024-02-06 22:14:35 +00:00
pcsx2-qt.vcxproj Debugger: Migrates Memory Search tab to it's own widget 2024-02-21 00:25:40 +00:00
pcsx2-qt.vcxproj.filters Debugger: Migrates Memory Search tab to it's own widget 2024-02-21 00:25:40 +00:00