Skip to content

and47/flyweight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Weakref-based computation cache for state memoization.

A Flyweight-inspired ndarray wrapper.

Memory-efficient operation caching: avoids recomputation by reusing intermediate results, and auto-cleans when no longer needed.

Provides two simplest example operations (one of them is idempotent).

Extend with your own computational methods for numerical data, numpy arrays with more than one dimensions.

About

Inspired by the design pattern a weakref-based computation cache for state memoization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages