Sunday, July 29, 2018

FP.Memoization - Easy function memoization

While I was at work I needed to memoize some functions for an ASP .NET Core application, I had a look around GitHub and NuGet and most packages were targeting the full Net Framework, were very old or had very complicated caching mechanisms that are hard to invalidate or to cleanup.
Inspired by the wonderful reselect Javascript library and because I wanted something compatible with .NET Core I’ve wrote my very own super simple memoization library called FP.Memoization (had to add a namespace because “Memoization” was already existing on NuGet).

Let me know what you think about it !

NuGet: https://www.nuget.org/packages/FP.Memoization/#
GitHub: https://github.com/federico-paolillo/memoize

FP.Memoization - Easy function memoization Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team