Consolidated some loose strings into constant declarations in order to reduce allocation thrashing on temporary string constructs. I'm sure there are more, but "back_thumb", "back", and "backdrop.jpg" were the ones that showed up most in memory profiling.
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
#include <JResourceManager.h>
|
||||
#include <JSoundSystem.h>
|
||||
|
||||
const std::string kGenericCardID = "back";
|
||||
const std::string kGenericCardThumbnailID = "back_thumb";
|
||||
|
||||
enum ENUM_WRES_INFO
|
||||
{
|
||||
WRES_UNLOCKED = 0, //Resource is unlocked.
|
||||
|
||||
Reference in New Issue
Block a user