summaryrefslogtreecommitdiff
path: root/tools/editor/style.css
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-05 18:52:59 +0100
committerskal <pascal.massimino@gmail.com>2026-02-05 18:52:59 +0100
commit4a3f7a2c379a3e9554e720685e03842180b021ce (patch)
tree564638b0ed65ff4a2879847376f1cacf9843096c /tools/editor/style.css
parent215bb6c8d2346e1328327d6aec27db0006fd4639 (diff)
docs: Add lazy loading and on-demand strategy to audio refactor
Updated AUDIO_LIFECYCLE_REFACTOR.md to support lazy loading instead of eager "load all at init" approach. Key changes: - Lazy loading with 1-2s pre-warming lookahead (recommended) - On-demand decompression for compressed assets (future) - Cache eviction policy for long demos (optional) - Async background loading (post-MVP enhancement) Benefits over eager loading: - Instant startup (no upfront loading delay) - Memory efficient (only load active + upcoming samples) - No trigger stutter (pre-warming prevents load-on-access) - Spreads load cost over time Example timeline: t=0.0s: Load 0 samples (instant) t=0.0s: Pre-warm 3-5 samples for next 2s t=1.0s: Pre-warm 2-3 more samples By t=10s: Only ~10 samples loaded (not all 19) Addresses concern about "load all samples at init" being too costly. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/editor/style.css')
0 files changed, 0 insertions, 0 deletions