优化 素材库新增处理优化,提速,其余bug处理

This commit is contained in:
Chen committed 2025-12-04 10:57:50 +08:00
1 parent ad774d8a22
commit 4bce6f5d72
67 files changed
+4861 -3111

No files matched your search

+1 -4
View File
@@ -109,8 +109,6 @@ class ImageCache {
this.cache.clear();
this.accessOrder = [];
console.log('[ImageCache] Cache cleared');
}
/**
@@ -124,7 +122,6 @@ class ImageCache {
// First item in access order is least recently used
const lruImageId = this.accessOrder[0];
console.log(`[ImageCache] Evicting LRU: ${lruImageId}`);
this.remove(lruImageId);
this.stats.evictionCount++;
}
@@ -195,7 +192,7 @@ class ImageCache {
*/
logStats() {
const stats = this.getStats();
console.log('[ImageCache] Statistics:', stats);
// 仅在需要时输出统计信息
}
}