- Remove factors from heatmap scores, fetch on-demand via point_detail - Pre-encode initial scores JSON once instead of per-render - Don't store scores in socket assigns (reduce memory) - Pre-calculate RGBA color lookup table for canvas rendering - Batch fillStyle changes, hoist math out of inner loop - Show topbar immediately on data requests (no 300ms delay) |
||
|---|---|---|
| .. | ||
| app.js | ||
| propagation_map_hook.js | ||