Memoization - seamlessly cache any function to boost performance View on Asset Store (opens in new tab)

Package details

Latest version
0.9.0
Last updated
First released
Unity version
2022.1.8 or later
Package size
23 KB
Files
9
Favorites
1
Views in the past week
11

Price tracking

Last checked
Tracked since
Lowest recorded
$5.49 on

Keywords

Memoization - seamlessly cache any function to boost performance

by Rolling Sausage (opens in new tab)

No ratings yet

Package seamlessly caches any function of any of your objects and eliminates any repetitive work.

Price $5.49

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Memoization - seamlessly cache any function to boost performance, 6 months Current $5.49; lowest $5.49; highest $5.49 in this period. $0 $5 $10 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 3

Memoization - seamlessly cache any function to boost performance screenshot 1

Memoization - seamlessly cache any function to boost performance screenshot 1

About this asset

Package implements Memoization techniques into any Unity project (built-in, URP, HDRP, custom render pipeline). Package allows you to cache any function's result and return a cached result instead of calling same function again next time it is invoked.

With this Memoization package, complex algorithms and resource-intensive calculations are seamlessly optimized. Intelligent and lightweight caching system remembers previously computed results, eliminating repetitive work and ensuring your application runs smoother than ever before.

Package utilises dynamic static type, which does not work with IL2CPP. Scripting backed must be Mono and API compatibility level .NET Framework. Package does not have any dependencies so it could technically be used outside of Unity as well.

Note that package is considered to be fully ready for production, but to rule out any potential issues or feature requests that could be found in the first few months of the release, this is currently marked in Beta version. Github repo available for detailed documentation, any issues, features or questions.

(Once full version is released, package price is likely to increase. Anyone who purchases it now are guaranteed to get all the latest updates for free)

Package is LTS and actively maintained

From the publisher's Asset Store listing.

Technical details

  • Memory friendly (no memory leaks)
  • Lightweight source code (<10KB)
  • Supports any object as all functionality is injected through extension methods
  • Works with any render pipeline
  • Works only with Mono platform (scripting backend)
  • Oldest Unity version tested: 2020.3.0
  • Code has no dependencies so it could be used outside of Unity as well
  • Documentation / Issues / Feature Requests: GitHub link

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2022.1.8f1 Compatible Compatible Compatible Compatible

IL2CPP is not supported (Edit > Project Settings > Player > Scripting Backed).

Requirements:

  1. Scripting Backend - MONO (IL2CPP not supported)
  2. API compatibility level - .NET Framework (.NET Standard 2.1 not supported)

As listed on the Asset Store.