Topic: "memoize"
alexreardon/memoize-one
A memoization library which only remembers the latest invocation
Language: TypeScript - Size: 1.44 MB - Last synced at: 5 days ago - Pushed at: over 2 years ago - Stars: 2,959 - Forks: 80

developit/decko
:dash: The 3 most useful ES7 decorators: bind, debounce and memoize
Language: JavaScript - Size: 49.8 KB - Last synced at: about 3 hours ago - Pushed at: over 6 years ago - Stars: 1,037 - Forks: 35

python-cachier/cachier
Persistent, stale-free, local and cross-machine caching for Python functions.
Language: Python - Size: 452 KB - Last synced at: 20 days ago - Pushed at: 2 months ago - Stars: 596 - Forks: 68

theKashey/memoize-state
The magic memoization for the State management. ✨🧠
Language: JavaScript - Size: 1.75 MB - Last synced at: 6 days ago - Pushed at: over 2 years ago - Stars: 328 - Forks: 16

goldsborough/lru-cache
:dizzy: A feature complete LRU cache implementation in C++
Language: C++ - Size: 13.7 MB - Last synced at: 2 months ago - Pushed at: over 5 years ago - Stars: 249 - Forks: 29

vlio20/utils-decorators
Decorators for web and node applications
Language: TypeScript - Size: 1.8 MB - Last synced at: 6 days ago - Pushed at: 6 months ago - Stars: 226 - Forks: 14

greg7mdp/gtl
Greg's Template Library of useful classes.
Language: C++ - Size: 2.43 MB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 198 - Forks: 11

melpon/memoize
A method caching macro for elixir using CAS on ETS.
Language: Elixir - Size: 89.8 KB - Last synced at: about 21 hours ago - Pushed at: over 1 year ago - Stars: 197 - Forks: 12

discord/use-memo-value
Reuse the previous version of a value unless it has changed
Language: TypeScript - Size: 489 KB - Last synced at: 7 days ago - Pushed at: over 1 year ago - Stars: 169 - Forks: 11

darrylhodgins/typescript-memoize
A memoize decorator for Typescript
Language: TypeScript - Size: 529 KB - Last synced at: 27 days ago - Pushed at: over 2 years ago - Stars: 137 - Forks: 20

theKashey/react-memoize
🧠 React memoization library we all deserve
Language: JavaScript - Size: 3.35 MB - Last synced at: 22 days ago - Pushed at: about 5 years ago - Stars: 129 - Forks: 4

kofalt/go-memoize
An easy, no-frills memoizer for Go. Cache your expensive function calls.
Language: Go - Size: 27.3 KB - Last synced at: 2 months ago - Pushed at: 12 months ago - Stars: 120 - Forks: 14

aduth/memize
Unabashedly-barebones memoization library with an aim toward speed
Language: JavaScript - Size: 183 KB - Last synced at: 22 days ago - Pushed at: almost 2 years ago - Stars: 119 - Forks: 4

marius311/Memoization.jl
Easily and efficiently memoize any function, closure, or callable object in Julia.
Language: Julia - Size: 54.7 KB - Last synced at: about 1 month ago - Pushed at: 7 months ago - Stars: 109 - Forks: 2

Andarist/react-selector-hooks
Collection of hook-based memoized selector factories for declarations outside of render.
Language: JavaScript - Size: 4.88 KB - Last synced at: 15 days ago - Pushed at: over 6 years ago - Stars: 85 - Forks: 0

theKashey/kashe
A memoization library based on weakmaps. 🤯 Sometimes cache is kashe
Language: TypeScript - Size: 475 KB - Last synced at: 23 days ago - Pushed at: 4 months ago - Stars: 68 - Forks: 2

Bodigrim/chimera
Lazy infinite compact streams with cache-friendly O(1) indexing and applications for memoization
Language: Haskell - Size: 158 KB - Last synced at: 10 days ago - Pushed at: 5 months ago - Stars: 60 - Forks: 6

delonnewman/invokable
Objects are functions! Treat any Object or Class as a Proc (like Enumerable but for Procs).
Language: Ruby - Size: 118 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 44 - Forks: 0

sergiodxa/react-lazy-memo 📦
CRA with Suspense, lazy and memo usage demo app
Language: JavaScript - Size: 595 KB - Last synced at: about 1 year ago - Pushed at: about 5 years ago - Stars: 36 - Forks: 3

makiolo/design-patterns-cpp14
:pray: Design patterns implemented in C++14
Language: C++ - Size: 316 KB - Last synced at: 15 days ago - Pushed at: about 3 years ago - Stars: 35 - Forks: 5

RokLenarcic/memento
Clojure Memoization project
Language: Java - Size: 621 KB - Last synced at: 5 days ago - Pushed at: 8 months ago - Stars: 33 - Forks: 2

Alorel/typescript-lazy-get-decorator
Lazily evaluates a getter on an object and caches the returned value
Language: TypeScript - Size: 1.27 MB - Last synced at: about 20 hours ago - Pushed at: over 1 year ago - Stars: 32 - Forks: 1

zgornel/Caching.jl
Memoization mechanism
Language: Julia - Size: 131 KB - Last synced at: 14 days ago - Pushed at: over 1 year ago - Stars: 32 - Forks: 4

mishalzaman/memo_ttl
MemoTTL is a thread-safe memoization utility for Ruby that supports TTL (Time-To-Live) and LRU (Least Recently Used) eviction. It's designed for scenarios where memoized values should expire after a period and memory usage must be constrained.
Language: Ruby - Size: 49.8 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 31 - Forks: 0

jonschlinkert/regex-not
Create a javascript regular expression for matching everything except for the given string.
Language: JavaScript - Size: 14.6 KB - Last synced at: about 20 hours ago - Pushed at: over 7 years ago - Stars: 31 - Forks: 6

phoet/memo-it
:inbox_tray: :outbox_tray: simple yet clever memoization helper with parameter support
Language: Ruby - Size: 30.3 KB - Last synced at: 2 months ago - Pushed at: over 6 years ago - Stars: 30 - Forks: 2

simone-sanfratello/fastify-peekaboo
fastify plugin for memoizing responses by expressive settings
Language: JavaScript - Size: 211 KB - Last synced at: 17 days ago - Pushed at: over 4 years ago - Stars: 27 - Forks: 1

motoki317/sc
A simple generic in-memory caching layer
Language: Go - Size: 141 KB - Last synced at: 27 days ago - Pushed at: 27 days ago - Stars: 25 - Forks: 1

transitive-bullshit/p-cache
Decorator to memoize the results of async functions via lru-cache.
Language: JavaScript - Size: 37.1 KB - Last synced at: 2 days ago - Pushed at: almost 5 years ago - Stars: 24 - Forks: 1

federico-paolillo/memoize
Memoize C# functions with ease.
Language: C# - Size: 65.4 KB - Last synced at: 3 days ago - Pushed at: over 3 years ago - Stars: 23 - Forks: 2

h2non/hu
Small, generic functional helper library for node.js and browsers
Language: wisp - Size: 155 KB - Last synced at: 14 days ago - Pushed at: over 5 years ago - Stars: 21 - Forks: 3

RikudouSage/SymfonyMemoizeBundle
Symfony bundle for class/method memoization
Language: PHP - Size: 41 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 20 - Forks: 2

metio/memoization.java
Java memoization library
Language: Java - Size: 847 KB - Last synced at: 10 days ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 3

HowProgrammingWorks/Memoization
Memoization of synchronous and asynchronous functions
Language: JavaScript - Size: 157 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 26

feross/memo-async-lru
Memoize Node.js style callback-last functions, using an in-memory LRU store
Language: JavaScript - Size: 11.7 KB - Last synced at: 2 months ago - Pushed at: about 5 years ago - Stars: 17 - Forks: 1

bofm/python-caching
Python utils and decorators for cаching with TTL, maxsize and file-based storage
Language: Python - Size: 44.9 KB - Last synced at: 28 days ago - Pushed at: over 6 years ago - Stars: 15 - Forks: 3

agkloop/go_memoize
Golang high performant functional Memoize
Language: Go - Size: 53.7 KB - Last synced at: 29 days ago - Pushed at: 2 months ago - Stars: 13 - Forks: 1

blakeembrey/decorator-cache-getter
Simple decorator for caching getters on first access
Language: TypeScript - Size: 502 KB - Last synced at: 10 days ago - Pushed at: over 1 year ago - Stars: 13 - Forks: 4

PasaOpasen/MathClasses
Set of simple mathematical classes in C# (Vectors, Matrixes, Polynoms, Systems of linear equations, Integrals methods, Complex numbers, Rational numbers, Graphs, Methods for solving differential equations) + some features such as memoize (function values memorising)
Language: C# - Size: 227 MB - Last synced at: 14 days ago - Pushed at: over 3 years ago - Stars: 13 - Forks: 7

loophp/memoize 📦
Memoize a closure.
Language: PHP - Size: 91.8 KB - Last synced at: 10 days ago - Pushed at: 8 months ago - Stars: 12 - Forks: 1

umarbutler/persist-cache
An easy-to-use Python library for lightning-fast persistent function caching.
Language: Python - Size: 57.6 KB - Last synced at: 12 days ago - Pushed at: about 1 month ago - Stars: 10 - Forks: 3

StarryInternet/map-memo
Generic memoization with Map and WeakMap
Language: JavaScript - Size: 11.7 KB - Last synced at: 28 days ago - Pushed at: over 5 years ago - Stars: 10 - Forks: 1

aesrael/go-memo
Memoize functions - A go utility to cache and boost performance of subsequent functions calls with identical input.
Language: Go - Size: 3.91 KB - Last synced at: about 1 year ago - Pushed at: almost 6 years ago - Stars: 8 - Forks: 0

ahmetilhn/memofy
Prevents re-execution of large javascript functions that have been processed once with the same parameter.
Language: TypeScript - Size: 306 KB - Last synced at: 7 days ago - Pushed at: 12 days ago - Stars: 7 - Forks: 0

rzane/memosa
A simple solution for caching method return values in Ruby
Language: Ruby - Size: 64.5 KB - Last synced at: 3 days ago - Pushed at: 4 months ago - Stars: 7 - Forks: 0

BrianSemiglia/RxCacheMap
A collection of caching/memoizing RxSwift map operators.
Language: Swift - Size: 428 KB - Last synced at: 23 days ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 0

reelevant-tech/cache-cache
Cache all the things: memoize functions, cache objects etc
Language: TypeScript - Size: 191 KB - Last synced at: over 2 years ago - Pushed at: over 3 years ago - Stars: 7 - Forks: 0

ElMassimo/pakiderm
🐘 Pakiderm will never forget the return value
Language: Ruby - Size: 71.3 KB - Last synced at: 5 days ago - Pushed at: over 4 years ago - Stars: 7 - Forks: 1

kouhin/redux-memoize
Memoize action creator for redux, and let you dispatch common/thunk/promise/async action whenever you want to, without worrying about duplication
Language: JavaScript - Size: 70.3 KB - Last synced at: 7 days ago - Pushed at: almost 8 years ago - Stars: 7 - Forks: 1

shawncplus/memoization-behavior
Polymer behavior adding memoization helpers
Language: HTML - Size: 10.7 KB - Last synced at: about 1 month ago - Pushed at: over 8 years ago - Stars: 7 - Forks: 0

omid/kash
Function cache and memoization library for Rust
Language: Rust - Size: 750 KB - Last synced at: 16 days ago - Pushed at: 8 months ago - Stars: 6 - Forks: 0

blakeembrey/decorator-memoize-one
Simple decorator for caching the result of a function based on the most recent arguments
Language: TypeScript - Size: 268 KB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 6 - Forks: 0

RutledgePaulV/defcash
A macro combining core.memoize and clojure.core/defn
Language: Clojure - Size: 34.2 KB - Last synced at: 2 months ago - Pushed at: about 5 years ago - Stars: 6 - Forks: 0

marmelo/chili
Chili is a collection of Java annotations that simplify common tasks.
Language: Java - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: over 6 years ago - Stars: 6 - Forks: 1

ggrandes/memoizer 📦
Agnostic Cache in Java. If you call the function again with the same arguments, memoize return value out from cache, instead of compute again.
Language: Java - Size: 10.7 KB - Last synced at: 3 months ago - Pushed at: 9 months ago - Stars: 5 - Forks: 0

strainer/fencache.js
A useful kind of javascript function memoizer
Language: JavaScript - Size: 67.4 KB - Last synced at: about 10 hours ago - Pushed at: almost 4 years ago - Stars: 5 - Forks: 0

RicardoMorato/React.memo
A guide to memoization using React.memo
Language: JavaScript - Size: 230 KB - Last synced at: over 2 years ago - Pushed at: over 4 years ago - Stars: 5 - Forks: 2

nordlow/strace-memoize
Process call tree memoization tool using strace. Written in Python 3.
Language: Python - Size: 146 KB - Last synced at: almost 2 years ago - Pushed at: over 8 years ago - Stars: 5 - Forks: 0

bigcommerce/memoize-js
A JavaScript library for memoizing the result of a pure function
Language: TypeScript - Size: 556 KB - Last synced at: 15 days ago - Pushed at: about 2 months ago - Stars: 4 - Forks: 3

dimikot/fast-typescript-memoize
Fast memoization decorator and other helpers with 1st class support for Promises.
Language: TypeScript - Size: 17.6 KB - Last synced at: 2 months ago - Pushed at: 9 months ago - Stars: 4 - Forks: 0

simphotonics/lazy_memo
Lazy variables that can be re-initialized and memoized functions for Dart.
Language: Dart - Size: 130 KB - Last synced at: 2 months ago - Pushed at: about 1 year ago - Stars: 4 - Forks: 1

olegnn/fun-memoize
Memoization library for modern JavaScript
Language: TypeScript - Size: 3.43 MB - Last synced at: 21 days ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 0

Gattermeier/memoized
A memoize library with cache limitations governed by function call frequency or performance. Use it for costly algorithmic problems like fibonacci numbers.
Language: JavaScript - Size: 8.79 KB - Last synced at: 2 days ago - Pushed at: over 9 years ago - Stars: 4 - Forks: 0

R3DST0RM/easy-memoize
Memoization in JS should be made easy. easy-memoize will help you with it!
Language: TypeScript - Size: 546 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 3 - Forks: 0

Tim7775/luau-caching-and-memoization
Luau cache structures and function memoization
Language: Luau - Size: 58.6 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0

darky/glemo
Simple function memoization over Erlang ETS / JavaScript Map for Gleam
Language: Gleam - Size: 17.6 KB - Last synced at: 6 days ago - Pushed at: 9 months ago - Stars: 3 - Forks: 0

kaankucukx/nestjs-memoize-endpoint
A NestJS decorator that memoizes endpoint results based on the given parameters, improving performance and response times.
Language: TypeScript - Size: 8.32 MB - Last synced at: 2 months ago - Pushed at: about 2 years ago - Stars: 3 - Forks: 2

d3dc/react-flying-saucer
A simple framework built on top of create-react-app for scalable single-page apps with functional react.
Language: JavaScript - Size: 7.12 MB - Last synced at: 8 days ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

compulim/memoize-one-with-dispose
A memoization function with cache of one and disposing function
Language: JavaScript - Size: 1.15 MB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 0

spoorn/nemoize
Python Memoizer for classes, functions, and methods
Language: Python - Size: 16.6 KB - Last synced at: 13 days ago - Pushed at: about 3 years ago - Stars: 3 - Forks: 2

maraisr/tabling
Let's table this object till a later date
Language: TypeScript - Size: 25.4 KB - Last synced at: 22 days ago - Pushed at: about 3 years ago - Stars: 3 - Forks: 0

huntfx/supercache
Easy to use caching for functions and methods.
Language: Python - Size: 105 KB - Last synced at: 4 days ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

isaachinman/fs-memoize
A simple, zero-dependency NodeJs filesystem memoizer.
Language: TypeScript - Size: 69.3 KB - Last synced at: 3 months ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

ckoliber/memoizor
TypeScript memoize library
Language: TypeScript - Size: 7.8 MB - Last synced at: 1 day ago - Pushed at: almost 6 years ago - Stars: 3 - Forks: 0

make-github-pseudonymous-again/memoize
:floppy_disk: Cache executable calls
Language: Rust - Size: 99.6 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 1

stdlib-js/utils-define-memoized-property
Define a memoized object property.
Language: JavaScript - Size: 916 KB - Last synced at: 2 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0

5app/memoize
Memoization is an optimisation technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again.
Language: TypeScript - Size: 861 KB - Last synced at: 1 day ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

hurryhuang1007/fn-merge-cache
`FnMergeCache` is a caching utility that allows functions to cache their results based on input arguments, with options for cache lifetime, size limits, error handling, and parameter comparison, while supporting cache invalidation via tags and global revalidation.
Language: TypeScript - Size: 180 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

ramiel/memoizy
Memoization helper
Language: TypeScript - Size: 1.47 MB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 2 - Forks: 0

alesmenzel/cache
Async function cache 🎲
Language: JavaScript - Size: 1.2 MB - Last synced at: 29 days ago - Pushed at: over 2 years ago - Stars: 2 - Forks: 0

DhanteyUD/React_useCallback
The React useCallback Hook returns a memoized callback function. Think of memoization as caching a value so that it does not need to be recalculated. This allows us to isolate resource intensive functions so that they will not automatically run on every render.
Size: 3.91 KB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 1

mdawar/memoize-utils
Memoize function and TypeScript decorator for sync and async functions.
Language: TypeScript - Size: 146 KB - Last synced at: 22 days ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 0

rtmigo/filememo_py
Stores the results of expensive function calls and returns the cached result when the same inputs occur again
Language: Python - Size: 128 KB - Last synced at: 12 days ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 0

stagas/memoize-pure
low footprint memoize for just pure sync functions with scalar arguments
Language: TypeScript - Size: 201 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 0

Krisztiaan/memoarray
A simple javascript utility for array binding memoization.
Language: JavaScript - Size: 6.84 KB - Last synced at: 15 days ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 1

wzhudev/memoize
:notebook: A memoize util for TypeScript.
Language: TypeScript - Size: 12.7 KB - Last synced at: 5 days ago - Pushed at: almost 4 years ago - Stars: 2 - Forks: 0

CharlesStover/react-object-prop 📦
Caches Object props in React so as to prevent unnecessary re-rendering.
Language: JavaScript - Size: 422 KB - Last synced at: 2 months ago - Pushed at: over 5 years ago - Stars: 2 - Forks: 0

nordlow/memoizer
Process call memoizer
Language: C++ - Size: 424 KB - Last synced at: almost 2 years ago - Pushed at: over 8 years ago - Stars: 2 - Forks: 0

jessegall/Laravel-Memoize
A library for memoizing repeated function calls in Laravel Eloquent models and PHP classes.
Language: PHP - Size: 49.8 KB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

freshworks/memoize_until
This gem is an extension to the standard memoization pattern.
Language: Ruby - Size: 49.8 KB - Last synced at: 12 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 4

stdlib-js/utils-memoize
Memoize a function.
Language: JavaScript - Size: 893 KB - Last synced at: 10 days ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

simplyYan/oyzem
memoizing has never been easier
Language: Go - Size: 20.5 KB - Last synced at: 3 months ago - Pushed at: 10 months ago - Stars: 1 - Forks: 0

drexed/lite-memoize
Cache and memoization helpers for ruby Ruby classes
Language: Ruby - Size: 50.8 KB - Last synced at: 2 months ago - Pushed at: 11 months ago - Stars: 1 - Forks: 0

TomokiMiyauci/memo
Memoization tools, TC39 proposal-function-memo implementation
Language: TypeScript - Size: 61.5 KB - Last synced at: 7 days ago - Pushed at: 11 months ago - Stars: 1 - Forks: 0

ken107/memoize
Extensible memoize that allows plugin arbitrary cache implementation, supporting multiple layers of caches
Language: TypeScript - Size: 663 KB - Last synced at: 3 months ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 2

nilscox/selektor
Create memoized selectors.
Language: TypeScript - Size: 28.3 KB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

afeiship/next-memo
Memoize for next.
Language: JavaScript - Size: 21.5 KB - Last synced at: 12 days ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

Vunovati/memoize-methods
Memoize methods of a given JavaScript object
Language: TypeScript - Size: 433 KB - Last synced at: 16 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 1

iftech-engineering/jike-cache.ts
Modern high performance cache for Node.js
Language: TypeScript - Size: 904 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

mediapeers/db_memoize
Library to cache (memoize) method return values in the database
Language: Ruby - Size: 108 KB - Last synced at: 8 days ago - Pushed at: over 5 years ago - Stars: 1 - Forks: 0
