LRU(2)
-
3.4. Cache - 3.4.2 LFU Cache
CS - 3. Common Algorithms - 3.4. Cache - 3.4.2 LFU Cache 💡LFU Cache is a data structure that stores key-value pairs. It has a fixed size and when it is full, it removes the least frequently used key-value pair. It is a variation of the LRU Cache and is used in many applications such as caching web pages, caching database queries, and caching images. LFU 캐시는 키-값 쌍을 저장하는 데이터 구조입니다. 크기가 고정되어 있으며, 크..
2024.01.26 -
3.4. Cache - 3.4.1 LRU Cache
CS - 3. Common Algorithms - 3.4. Cache - 3.4.1 LRU Cache 3.4. Cache 💡Cache algorithms are used to manage the cache memory of a computer. Cache memory is a small amount of memory that is used to store data that is frequently accessed. This allows the computer to access the data faster than if it had to go to the main memory. Cache algorithms are used to determine which data should be stored in th..
2024.01.25