NYCPlanning / db-factfinder

data ETL for population fact finder (decennial + acs)
https://nycplanning.github.io/db-factfinder/factfinder/
MIT License
2 stars 3 forks source link

caching for variable calculation functions #20

Closed SPTKL closed 3 years ago

SPTKL commented 3 years ago

for variables such as the base variable (which gets used by multiple variable calculations), we should use caching to avoid repeated expensive calculations

https://docs.python.org/3/library/functools.html