Business Week #11 - Calculations
Once we started gathering data the next step was to introduce series calculator checking best & current series of successes for each of daily goals. Actually it took me some time to find an approach that makes sense but it looks like approach I finally took looks like working 💪 I finally decided to recalculate goal progresses once per a change and store them for quick future accesses to limit unnecessary recalculations. By storing data I mean storing in device memory and also in local memory cache for quick access during runtime.