Before: techDayJobsWithTravel(tech), periodLoadH(tech), techPeriodCapacityH(tech) were called as functions in the template v-for — recalculated on EVERY render for every tech (10 techs × 3 functions = 30 expensive recomputations per render). After: Pre-computed as Vue computed Maps (segmentsMap, loadMap, capMap) that only recompute when their reactive dependencies actually change. Template reads from map[tech.id] — instant O(1) lookup, no recalculation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| client | ||
| field | ||
| ops | ||
| portal | ||
| website | ||