Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off

crates/cre8-app-compute/src/cache.rs

cre8-app-compute · module cache · src · 230 lines (168 code, 28 comment) · sha 6f53be257287e17c

Items

struct ResultCache struct CacheEntry impl ResultCache struct CacheStats

Functions

By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
ResultCache::cache_keysrc/cache.rs:39method311103.9
ResultCache::newsrc/cache.rs:34method31703.8
ResultCache::putsrc/cache.rs:62method2051101.9
make_entrysrc/cache.rs:121fn151511.2
ResultCache::getsrc/cache.rs:45method153010.5
ResultCache::containssrc/cache.rs:84method31010.5
ResultCache::statssrc/cache.rs:89method41000.5
ResultCache::get_by_ir_hashsrc/cache.rs:98method31000.5
ResultCache::clearsrc/cache.rs:103method41000.5
test_put_and_getsrc/cache.rs:138fn161030.5
test_lru_evictionsrc/cache.rs:156fn261030.5
test_hit_countsrc/cache.rs:184fn81030.5
test_cache_keysrc/cache.rs:194fn41010.5
test_statssrc/cache.rs:200fn181030.5
test_clearsrc/cache.rs:220fn101030.5

Source not readable from this process.