Adds schema fingerprinting to cache schema compatibility checks, enabling a fast path that skips unnecessary re-initialization work on startup, with performance tests covering the new code paths and updated storage documentation. Fusion-Task-Id: FN-4094
374 B
374 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Optimize Database.init() schema-compatibility passes: cache per-table PRAGMA results within init and short-circuit unchanged-schema opens via a schemaCompatFingerprint in __meta. Reduces repeated db.init() wall time substantially without weakening the FN-3879/FN-3887/FN-3898 invariant that every declared column exists after init.