Realized that the icon manager is caching icon tilesets, not icons
themselves, and accordingly dramatically reduced the cache size and fixed comment. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2036 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: IconManager.java,v 1.4 2002/12/07 02:09:45 shaper Exp $
|
// $Id: IconManager.java,v 1.5 2002/12/07 02:13:00 shaper Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -175,6 +175,6 @@ public class IconManager
|
|||||||
* metrics configuration parameter. */
|
* metrics configuration parameter. */
|
||||||
protected static final String METRICS_SUFFIX = ".metrics";
|
protected static final String METRICS_SUFFIX = ".metrics";
|
||||||
|
|
||||||
/** The maximum number of icons that may be cached at any one time. */
|
/** The maximum number of icon tilesets that may be cached at once. */
|
||||||
protected static final int ICON_CACHE_SIZE = 50;
|
protected static final int ICON_CACHE_SIZE = 10;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user