what will be the memory impact of storing this? will it be better if we computed the value when needed instead of storing in memory?