Module gdsf

Module gdsf 

Source
Expand description

Greedy Dual-Size Frequency (GDSF) cache implementation.

A cache replacement algorithm that combines frequency, size, and aging. Assigns priority based on (Frequency / Size) + Global_Age formula. Greedy Dual-Size Frequency (GDSF) cache implementation.

GDSF is a sophisticated cache replacement algorithm that combines frequency, size, and aging to optimize cache performance for variable-sized objects.

§Thread Safety

This implementation is not thread-safe. For concurrent access, wrap the cache with a synchronization primitive such as Mutex or RwLock.

Structs§

GdsfCache
An implementation of a Greedy Dual-Size Frequency (GDSF) cache.