mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-15 18:14:14 +02:00
975ec57c74
The database a .qetz holds is read whole: its tables are now written without their primary keys and indexes, in the order of their rows, and the file compacted; the reader indexes what it looks folios up by once it has read the file. Keys and indexes on text uuids were half of the database once zipped. A file written before reads as before. f2099 (136 folios) 5.14 MB -> 3.60 MB, industrial.qet 1.03 -> 0.71 MB; opening and showing a folio take as long as before (2.5 s, 215 ms). Gates on 342 corpus projects: saves, exports, round trip, re-save byte-stable, all open; hostile .qetz all refused; ctest 96/96 both ways. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>