Avatar for the aio-libs user
aio-libs
async-lru
BlogDocsChangelog

feat: add cache_contains() for read-only key lookup

#746Merged
Comparing
rahulkaushal04:feature/cache-contains
(
252aa4f
) with
master
(
e2ddf7a
)
CodSpeed Performance Gauge
0%
Untouched
63
Skipped
4

Benchmarks

4 total
test_cache_ttl_expiry_benchmark[meth-unbounded]
benchmark.py
Skipped
144.6 µs*
test_cache_ttl_expiry_benchmark[func-unbounded]
benchmark.py
Skipped
132.6 µs*
test_cache_ttl_expiry_benchmark[func-bounded]
benchmark.py
Skipped
132.5 µs*
test_cache_ttl_expiry_benchmark[meth-bounded]
benchmark.py
Skipped
144.5 µs*

Commits

Click on a commit to change the comparison range
Base
master
e2ddf7a
-0.08%
docs: update README and tests to include examples for cache_contains method
a52d05f
1 month ago
by rahulkaushal04
+0.06%
refactor: add type hints to coro functions in cache_contains tests
252aa4f
1 month ago
by rahulkaushal04
© 2026 CodSpeed Technology
Home Terms Privacy Docs