Project load no longer eager-reads all image bytes — `ImageAsset.data` stays empty and the renderer's ImageCache pages compressed bytes from the `.beam` on a decode miss (read_packed_media_readonly by asset id), decoding into the byte-bounded Tier-2 cache. Result: instant load, and compressed bytes don't accumulate on the heap. - ImageCache: `container_path` + `resolve_bytes` (asset.data if resident — fresh import or old base64 project — else page from the container); decoders take `&[u8]` and use the decoded dimensions. - Container path threaded App.current_file_path → SharedPaneState → VelloRenderContext, set on the cache each prepare. - load_beam_sqlite drops the 3.5b eager read. (Refinement: a persistent read connection instead of open-per-miss.) |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||