MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ update_lru()

void MayaFlux::Kakshya::RegionCacheManager::update_lru ( const Region region)
private

Definition at line 139 of file RegionCacheManager.cpp.

140{
141 auto it = std::ranges::find(m_lru_list, region);
142 if (it != m_lru_list.end()) {
143 m_lru_list.erase(it);
144 }
145 m_lru_list.push_front(region);
146}

References m_lru_list.

Referenced by cache_region(), get_cached_region(), and get_cached_region_internal().

+ Here is the caller graph for this function: