DarkflameServer/dGame/dUtilities
David Markowitz c6087ce77a
perf: Loot memory savings (#1165)
* Move away from constructor queries

Fix up other large tables to have proper backup lookups

Revert "idk im just dumb ig"

This reverts commit 5d5be5df53b8959b42b291613d7db749a65a3585.

idk im just dumb ig

* Fix slow components registry lookup

* add define for cdclient cache all

* Huge loot namespace rework

- Remove all excess memory usage
- do not cache components registry
- cache loot matrices on startup of the destroyable component
- convert loot singleton class to a namespace
- rework loot cdclient tables to operate closer to how someone would actually use them (basically doing the previous LootGenerator::LootGenerator caching but in those tables)
- Memory usage reduced by 10%+ across the board

* cache rebuild matrix

* Database: move reading to own function

Also change name of cache to PascalCase

* Database: Move common function rading
2023-10-09 15:33:22 -05:00
..
BrickDatabase.cpp Convert BrickDatabase to namespace (#1142) 2023-07-17 17:55:25 -05:00
BrickDatabase.h Convert BrickDatabase to namespace (#1142) 2023-07-17 17:55:25 -05:00
CheatDetection.cpp CheatDetection: Move player access (#1209) 2023-10-05 15:31:05 -07:00
CheatDetection.h feat: Security improvements for spoofed packets (#1201) 2023-09-28 12:16:11 -05:00
CMakeLists.txt feat: Security improvements for spoofed packets (#1201) 2023-09-28 12:16:11 -05:00
GUID.cpp fix: Implement proper Sound trigger component serialization (#1160) 2023-08-06 15:38:12 -05:00
GUID.h fix: Implement proper Sound trigger component serialization (#1160) 2023-08-06 15:38:12 -05:00
Loot.cpp perf: Loot memory savings (#1165) 2023-10-09 15:33:22 -05:00
Loot.h perf: Loot memory savings (#1165) 2023-10-09 15:33:22 -05:00
Mail.cpp chore: cleanup LU(W)string writing (#1188) 2023-09-20 20:06:28 -05:00
Mail.h format codebase 2022-07-28 08:39:57 -05:00
Preconditions.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
Preconditions.h convert to unix line endings 2022-08-05 22:01:59 -05:00
SlashCommandHandler.cpp perf: Loot memory savings (#1165) 2023-10-09 15:33:22 -05:00
SlashCommandHandler.h Removed some hardcoded logic for racing (#1075) 2023-05-08 04:38:08 -05:00
VanityUtilities.cpp chore: cleanup some vanity npc logic (#1174) 2023-08-03 21:37:09 -05:00
VanityUtilities.h Add ldf controlls to vanity npc tools 2023-01-11 01:10:14 -06:00