logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DBI::Util::CacheMemory - a very fast but very minimal subset of Cache::Memory

Description

Like Cache::Memory (part of the Cache distribution) but doesn't support any fancy features. This module aims to be a very fast compatible strict sub-set for simple cases, such as basic client-side caching for DBD::Gofer. Like Cache::Memory, and other caches in the Cache and Cache::Cache distributions, the data will remain in the cache until cleared, it expires, or the process dies. The cache object simply going out of scope will not destroy the data.

Methods With Changes

new All options except "namespace" are ignored. set Doesn't support expiry. purge Same as clear() - deletes everything in the namespace.

Methods Without Changes

clear count exists remove

Name

DBI::Util::CacheMemory - a very fast but very minimal subset of Cache::Memory

Unsupported Methods

If it's not listed above, it's not supported. perl v5.40.0 2025-02-01 DBI::Util::CacheMemory(3pm)

See Also