Files
clash-proxy/src-tauri
Tunglies 689042df60 refactor: use Box to store large config objects and add memory usage tests
- Refactored config-related structs to use Box for storing large objects (e.g., IRuntime, IProfiles, PrfItem) to reduce stack memory usage and improve performance.
- Updated related methods and assignments to handle Boxed types correctly.
- Added and improved unit tests to compare memory usage between Boxed and non-Boxed config objects, demonstrating the memory efficiency of Box.
- Test output now shows the size difference between stack-allocated and heap-allocated (Box) config objects.
689042df60 · 2025-06-06 14:54:48 +08:00
History
..
2025-02-27 03:18:23 +08:00
2024-06-20 13:50:28 +08:00
2024-09-11 08:15:03 +08:00
2022-11-12 11:37:23 +08:00
2022-11-12 11:37:23 +08:00