MayaFlux 0.4.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 141 of file RegionCacheManager.cpp.

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

References m_lru_list.

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

+ Here is the caller graph for this function: