diff --git a/js/state/profileCache.js b/js/state/profileCache.js index b046332d..91a30107 100644 --- a/js/state/profileCache.js +++ b/js/state/profileCache.js @@ -368,7 +368,7 @@ class ProfileCache { } clearMemoryCache(pubkey) { - // Optimized: O(1) deletion due to nested map structure + // Optimized: O(1) deletion using nested Map (pubkey -> section -> data) this.memoryCache.delete(pubkey); }