29 packages tagged with “Memoization”
This library uses and abuses the features of C# to provide a functional 'Base class library', that, if you squint, can look like extensions to the language itself.
Helper library for LanguageExt.Core that facilitates conversion between F# native types like Option, Map, List, etc to .NET and Language Ext types.
Parser combinators library based on Haskell Parsec. This is part of the LanguageExt functional base class library and requires LanguageExt.Core
Support for Reactive Extensions overloads for various types in the LanguageExt.Core
Functions like MapT, BindT, ForAllT, etc. for the nested monadic type extensions (i.e. `Seq<Option>`
A library to parse user-agent strings in C#.
Memoize functions with ease
A service to parse user-agent strings in C#.
Simple and high-performance caching of properties or parameterless methods with a single [Memo] custom attribute thanks to Metalama.
Cache method results
Design and build-time code-gen for records, unions, lenses and immutable With functions
When testing in C# it's not unusual to test instances of a class. The problem we all face is having a place to initialize our objects. 1. Create a field that is initialized and reset on `[TearDown]`? 2. Create a null field that is initialized during `[SetUp]`? 3. Duplicate the initialization in every `[Test]`? All three of these are valid, and unfortunately, all three can be found in the same project and sometimes the same test!
Extensions to language-ext effects system that wraps the IO behaviours from the .NET BCL
Provides a lightweight, fast and extensible micro cache through memoization
The Cuemon.Extensions.Runtime.Caching namespace contains extension methods that complements the Cuemon.Runtime.Caching namespace by adding support for Memoization techniques and GetOrAdd convenience; both with vast overloads and extended by the ICacheEnumerable{TKey} interface for loose coupling.
Provides support for cached, memoized functions, that return the same value for repeated invocations with the same parameters. Inspired by C#'s System.Lazy class.
A portable memoization and caching library for .NET
Library to create memoized versions of referentially transparent functions and methods.
A simple .NET Standard library to memoize a function with a single parameter
Memoize function values
Extensions to language-ext effects system that wraps .NET5+ specific IO from the .NET BCL
A high-performance memoization library for .NET that helps create cached functions with automatic result caching. Supports multiple cache implementations and provides efficient memory management for function result caching and performance optimization.
Memoization is an optimization technique used primarily to speed up computer programs by having function calls avoid repeating the calculation of results for previously processed inputs. This library provides extension methods for the System.Func`1 group of delegates, allowing them to be memoized.
Mesmer is a Memoization Library for the .Net platform
Package Description
This library provides abstractions for "interning", i.e., "monocopy", i.e., "hash-consing". Of concrete types, it provides WeakHash and InternableList. WeakHash stores weak references to objects, whereas InternableList implements a list with small-storage optimization, deep equality and ability to be interned. Introductory and API documentation is available at https://zvrba.github.io/Podaga/html/e165bf08-271a-48ee-a361-c437960f8c68.htm