mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 06:45:36 +00:00
Improvements to SimDictionary for when you have a large number of objects in the game. Under light load (i.e. under 5000 objects) this code actually runs slower that the stock simdictionary. When you exceed 5000 objects, the template class actually runs faster and more consistently.
This commit is contained in:
parent
378a933894
commit
a91e5a2590
4 changed files with 116 additions and 17 deletions
|
|
@ -31,6 +31,10 @@
|
|||
//general, the information here is global for your entire codebase, applying
|
||||
//not only to your game proper, but also to all of your tools.
|
||||
|
||||
//If you plan to have less than 5000 objects use the Classic SimDictionary, if you plan to have more than
|
||||
//5000 objects use the new SimDictionary.
|
||||
|
||||
#define USE_CLASSIC_SIMDICTIONARY
|
||||
/// What's the name of your application? Used in a variety of places.
|
||||
#define TORQUE_APP_NAME "Empty"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue