footings.utils.once

once(function)[source]

Decorator to call function once and have it be available.

https://discuss.python.org/t/reduce-the-overhead-of-functools-lru-cache-for-functions-with-no-parameters/3956/3