Skip to content

Commit 21541ea

Browse files
cache size increase
1 parent abf1316 commit 21541ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iGraphics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ struct CacheEntry
553553
};
554554
static std::unordered_map<std::string, CacheEntry> imageCache;
555555
static std::list<std::string> lruList; // Most recently used at front
556-
static const size_t MAX_CACHE_SIZE = 50;
556+
static const size_t MAX_CACHE_SIZE = 500;
557557

558558
void iShowImage2(int x, int y, const char *filename, int ignoreColor = -1)
559559
{

0 commit comments

Comments
 (0)