memo module#
Memoization decorators#
This module provides decorators for enabling and disabling memoization on structural classes to optimize object creation. Generally users will not interact directly with these decorators, as the effects of them can be unintuitive.
- memoize(cls)[source]#
Decorator to enable memoization on this class and its subclasses. This is the default for many structural elements and doesn’t need to be explicitly added.