Cache Locality
Everything on SkillVeris tagged Cache Locality — collected across the glossary, study notes, blog, and cheat sheets.
4 resources across 1 library
Interview Questions(4)
Difference Between Array and Linked List
An array stores elements in contiguous memory with fixed-size, index-based access in O(1), while a linked list stores elements as nodes scattered in memory, ea…
Array of Arrays vs a True 2D Array: What is the Difference?
An array of arrays (a jagged array) is a collection of independently allocated 1D arrays linked by an outer array of pointers, so rows can have different lengt…
What Causes Context Switch Overhead and How Is It Reduced?
Context switch overhead comes from the direct cost of saving and restoring CPU state plus the indirect cost of losing cache, TLB, and pipeline warmth, and it i…
What is Processor Affinity?
Processor affinity is the tendency, or explicit configuration, for a process or thread to keep running on the same CPU core it ran on before, so it can keep re…