Tag view

#memory

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with memory

5 cards

JavaScript Hard Theory

Garbage collection, memory leaks, deep copy vs shallow copy, and performance pitfalls in loops and DOM updates

JavaScript uses garbage collection, but leaks still happen when references stay alive unexpectedly or when code creates unnecessary work.

  • Leaked references block collection
  • Shallow copies can share nested state
  • Repeated DOM writes and bad loops can hurt performance

Garbage collection, memory leaks, deep copy vs shallow copy, and performance pitfalls in loops and DOM updates

Artificial Intelligence Medium Theory

Short-term memory vs long-term memory in agents

Short-term memory is the active conversation context, while long-term memory is persisted information reused across sessions or tasks.

  • Short-term lives in the current context window
  • Long-term is stored externally
  • Memory quality depends on retrieval and summarization

Short-term memory vs long-term memory in agents