feat: новая функция

This commit is contained in:
2025-10-08 18:01:14 +03:00
parent 2c53bce32a
commit 725e7fd5a2
60 changed files with 5427 additions and 3921 deletions

View File

@@ -87,6 +87,7 @@ class AICache {
calculateHitRate() {
// Простая реализация - в реальности нужно отслеживать hits/misses
if (this.maxSize === 0) return 0;
return this.cache.size / this.maxSize;
}
}