Lib.rs

› Categories › #lru #memoization #hash #intern #persistent #memoize

Caching

Crates to store the results of previous computations in order to reuse the results

  • 94 of 96 crates
  • cached

    Generic cache implementations and simplified function memoization

    v0.11.0 4.1K #caching #cache #memoize #lru
  • lru-cache

    A cache that holds a limited number of key-value pairs

    v0.1.2 76K #data-structures
  • lru

    A LRU cache implementation

    v0.4.3 12K #LRU #cache
  • warmy

    Hot-reloading loadable and reloadable resources

    v0.13.0 220 #hot-reloading #resources
  • bloom-server

    HTTP REST API caching middleware, to be used between load balancers and REST API workers

    v1.28.0 280 app #proxy #http #api #rest #cache
  • nats

    A client for the NATS message queue

    v0.3.3 330 #nats #natsd #queue #client #library
  • internment

    Easy interning of data

    v0.3.10 290 #hash #interning #hashconsing #caching #interner
  • cacache

    Content-addressable, key-value, high-performance, on-disk cache

    v6.0.0 100 #cache #content-addressable #async #key-value #concurrent #disk #high-performance
  • mouscache

    A crate to store object either in redis or in memory

    v0.5.5 330 #cache #redis
  • xfetch

    Optimal Probabilistic Cache Stampede Prevention

    v1.0.0 #cache #xfetch
  • hashconsing

    A hash consing library

    v1.0.0 #hashconsing #hash #consing #sharing #caching
  • ttl_cache

    A cache that will expire values after a TTL

    v0.5.1 650 #cache #ttl #expire
  • clockpro-cache

    CLOCK-Pro cache replacement policy

    v0.1.8 #cache
  • cache_2q

    A 2Q Cache which maps keys to values

    v0.10.0 120 #cache #2q #lru
  • memoizer

    Simple function memoization struct

    v0.2.1 #memoization #cache #struct #xvrqt
  • fn-cache

    A copy-less and clone-less function caching library

    v0.5.0 #cache #memoization
  • associative-cache

    A generic N-way associative cache with fixed-size capacity and random or least recently used (LRU) replacement

    v1.0.1 #direct-mapped #associative #lru #cache
  • transient-hashmap

    Simple rust HashMap with transient entries

    v0.4.1 2.3K #hashmap #transient #temporary #lru #cache
  • simple-symbol

    Convenient, basic String interning

    v2.0.0 #interning #intern #cache #symbol
  • conhash

    Consistent Hashing library in Rust

    v0.4.0 440 #consistent #hash #cache
  • sloth

    Provides a generic wrapper struct for lazy initialization

    v0.2.0 #lazy #initialization #cache #caching
  • actix-sled-cache

    A caching system built on top of Sled and Actix

    v0.2.0 #sled #actix #cache
  • mutate_once

    Interior mutability, write-once and borrowable as plain &T

    v0.1.1 #cell #mutability #write-once
  • reiterate

    Iterator adaptor with caching that allows reiterating over the same iterator through the cache

    v0.1.3 #iterator #cache #data-structure
  • unique

    Allocate uniquely

    v0.8.0 160 #intern #allocation #unique
  • cart-cache

    CART cache replacement policy

    v0.1.4 #cache
  • fn-memo

    A library for creating the memoization of a function

    v1.2.0 #cache #memoization
  • js-intern

    A macro for interning JavaScript primitives

    v0.3.1 #javascript #intern #wasm-bindgen
  • trashmap

    A HashMap and HashSet that operate directly on hashes instead of keys, avoiding rehashing

    v0.1.3 #map #hash #cache #data-structure
  • cyclotron

    Cycle-aware memoization with automatic fixpoints

    v0.0.3 #cache #fixpoint #memoization
  • symtern

    Fast general-purpose interners for every use case

    v0.1.0 #interner #interning #symbol #string #pool
  • cachedir

    A library that helps with cache directories creation in a system-agnostic way. Note: even though the crate is at version 0.1, it should be stable and its API is not expected to change soon

    v0.1.1 #cache #api #stable #directories #version #note #change
  • nsqueue

    Rust client for the NSQ realtime message processing system

    v0.1.5 #nsq #queue #tokio #asynchronous
  • arc-cache

    An Adaptative Replacement Cache for Rust

    v0.2.4 #data-structures
  • cached_file_view

    A simple library for mapping arbitrary parts of huge files into memory

    v0.1.4 #file #mapped #view
  • js-intern-core

    Internal implementation details for the js-intern crate

    v0.3.1 #javascript #intern #wasm-bindgen
  • persistentcache

    Macros for persistently caching function calls using files or Redis

    v0.1.6 nightly #persistent #caching #science #HPC #memoization
  • adapton-lab

    Testing and performance evaluation suite for Adapton

    v0.1.0 nightly bin+lib #Incremental #Memoization #Dependency-Graph #Demand-driven #Self-Adjusting
  • lru-cache-macros

    A procedural macro for automatically caching the output of functions

    v0.3.1 nightly macro #lru #procedural-macro #cache #memoization
  • pmem-blk

    Rust abstractions over pmemblk-sys. Arrays of pmem-resident blocks, all the same size, that are atomically updated. For example, a program keeping a cache of fixed-size objects…

    v0.0.2 #pmemblk #libpmemblk #pmem #nvm #nvml
  • any-cache

    Cache with freely typed keys and any associated value

    v0.2.3 110 #any #cache
  • prefetch

    prefetch provides a type-safe wrapper around LLVM’s prefetch intrinsic

    v0.2.0 nightly #prefetch #cache #intrinsic
  • cache-macro

    A procedural macro for automatically caching the output of functions

    v0.4.1 nightly macro #lru #procedural-macro #cache #memoization
  • cachers

    A caching library

    v0.1.0 #cache
  • timed_cache

    An implementation of a cache that will regenerate a value if accessed after a certain amount of time

    v0.1.1 190 #cache #timed #sessions
  • writium-cache

    Common cache system for Writium APIs

    v0.1.3 #writium #cache
  • bhatho

    LRU Caching library with persistent layer using RocksDB

    v0.1.3 #LRU #cache #rockdb #persistent #caching
  • core_memo

    Zero-cost, no_std-compatible library for lazy evaluation and memoization

    v0.1.0 no-std #cache #memo #memoization #lazy #memoize
  • plru

    Implementation of concurrent (lockless) pseudo-LRU cache replacement policy

    v0.1.1 nightly no-std #cache #lru #pseudolru #page #concurrent
  • mouscache_derive

    A utility crate implement trait to store object either in redis or in memory

    v0.4.0 120 macro #cache #redis
  • mlcr

    An adaptive machine-learning-based cache tracker/replacement policy

    v0.2.0 #cache #replacement #machine #neural #lru
  • kvfeeds

    Key/Value store inspired by RethinkDB changefeeds and backed by Log Storage

    v0.1.0-alpha.1 #key-value-store #realtime #database #embedded #persistent
  • ripdeque

    A queue based cache inspired by beanstalkd

    v0.0.2 #beanstalk #queue
  • poolcache

    A hybrid object pool and LFU cache that permits cached object reuse. Useful for avoiding allocations

    v0.1.1 #cache #pool #buffer
  • lru_time_cache

    Implementation of a Least Recently Used caching algorithm in a container which may be limited by size or time, ordered by most recently seen

    v0.9.0 2.5K #lru #cache #time #container #size #live
  • hashcons

    Hash cons’ing for compact representations of shared, immutable data structures

    v0.1.1 nightly #memoization #hash_cons #merkle_trees
  • js-intern-proc-macro

    Internal implementation details for the js-intern crate

    v0.3.1 macro #javascript #intern #wasm-bindgen
  • lru-disk-cache

    A LRU cache for files on disk

    v0.3.0 2.1K #lru #cache #disk #ccache #amazon #redis #storage
  • morton

    morton iterator for rust

    v0.2.0 nightly #morton #iterator #cache-coherence #spatial-locality #data-locality
  • memoization

    Allows for structure fields to be memoized

    v0.1.0 #memoize #memoized #memoization #memory
  • persistentcache_procmacro

    Procedural macro for persistently caching functions (dependency of persistentcache crate)

    v0.0.3 nightly macro #persistent #caching #science #HPC #memoization
  • gtk-icon-cache

    A gtk-icon-cache file reader

    v0.2.2 #gtk #icon #cache
  • clock_cache

    A CLOCK cache implementation

    v0.1.0 #CLOCK #cache
  • string_cache_codegen

    A codegen library for string-cache, developed as part of the Servo project

    v0.5.1 58K #cache #string #codegen #servo #interning
  • string_cache

    A string interning library for Rust, developed as part of the Servo project

    v0.8.0 60K #cache #string #servo #interning
  • simple-interner

    A simple append-only interner

    v0.2.0 #symbol #string #interner #intern #cache
  • rust_cache

    library that defines a standard trait for caches and cached items along with impls for caching backends

    v0.3.0 #cache #redis
  • string_cache_shared

    Code share between string_cache and string_cache_codegen

    v0.3.0 45K #cache #string #shared #interning #share
  • rocket-file-cache

    An in-memory file cache for the Rocket web framework

    v1.0.0 150 nightly #rocket #cache #file #drop #web
  • symbolic-symcache

    An optimizied cache file for fast and memory efficient lookup of symbols and stack frames in debugging information

    v6.1.4 490 #symbolic #cache #sentry #python #memory #c #lookup #file
  • cache_line_size

    A crate that exposes the size of a cache line on the current architecture

    v1.0.0 #cache #size #line #align
  • multicache

    An LRU cache where each object has a given weight

    v0.6.0 150 #lru #cache #weight #object #value #thread-safe #elements #total #track
  • cache

    Type agnostic, fixed-size cache

    v0.2.0 #cache
  • users

    Library for getting information on Unix users and groups

    v0.9.1 18K #user #users #cache #unix #groups #information
  • count_cache

    Counted cache system

    v0.1.1 #cache #count #erase #zero #system
  • string_cache_plugin

    A string interning library for Rust, developed as part of the Servo project − compiler plugin

    v0.1.10 nightly #cache #string #plugin #servo #interning #compiler
  • nut

    Bolt DB Port in Rust

    v0.1.0 bin+lib #lru #cache #bolt-db #db #bolt #memory #format #api #port #issues
  • docuum

    LRU eviction for Docker images

    v0.1.0 app #lru #docker #cache #command #linux #images #running
  • podstats

    provides stats on the cache used by puckfetcher

    v0.1.2 bin+lib #podcasts #statistics #puckfetcher
  • smallgraph

    A small graph based on smallvec

    v0.0.7 #graph #smallvec #cache #generational #implementation #memory #indexes
  • cryptonote-wallet

    base58 for cryptonote

    v0.2.0 150 #cryptonote #wallet #base58 #cache #crypto
  • cache_control

    Rust crate to parse the HTTP Cache-Control header

    v0.1.0 #cache #control #http #controls #parse #header
  • dnscache

    Simple DNS proxy with forced caching

    v0.3.2 bin+lib #dns #dns-proxy #proxy #slow #serious
  • thunky

    Delay the evaluation of a paramless async function and cache the result

    v0.9.0 #async #cache #delay #result #evaluation #called
  • reactor-cache

    An async cache using tokio and futures

    v0.1.1 #reactor #cache #async #tokio #futures
  • cargo-cacher

    cargo-cacher is a crates.io proxy that will proxy requests made when building a package with Cargo

    v1.1.0 app #cargo #index #proxy #spirit #server #canonical
  • unbound-sys

    FFI bindings to libunbound

    v0.6.0 sys #unbound #sys #cache #dns
  • deposit

    Distributed in-process caching with pluggable replacement policies

    v0.1.0 #distributed #replacement
  • cachy

    Creates a cache for resources

    v0.2.0 #cache #resources #die #todo
  • rcache

    A basic, featureless memory cache with a TCP frontend analogous to memcached

    v0.1.1 nightly bin+lib #memcached #cache #tcp #memory #frontend #basic #documentation
  • cache-pad

    Empty crate, used only to reserve the name

    v0.0.0 #cache #pad #padding
  • roller

    Roller is a tool for running multiple linters and caching the results

    v0.1.0 app #roller
  • smalltree

    A small tree based on smallvec

    v0.0.1 #graph #tree #smallvec #cache #generational #implementation #memory #indexes #dependencies
  • http-cache

    Reserved

    v0.0.0 #http #cache
See also: Science