You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// To prevent the dictionary from drastically increasing in size by caching images, the dictionary size is not allowed to grow more than the permissibleFactor * maxCached size
31
46
// This is done so that we don't constantly perform this resizing operation and also maintain the image cache size at the same time
32
-
if(_data.Count>permissibleFactor*MaxCached)
47
+
if(Data.Count>permissibleFactor*MaxCached)
33
48
{
34
-
// This function resizes the Usage dictionary, taking the top 'maxCached' number of items and filtering the image icons that are not accessed frequently.
35
-
Cleanup();
36
-
37
49
// To delete the images from the data dictionary based on the resizing of the Usage Dictionary.
0 commit comments