mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
* [Oracle] Parse sets lazily to slash importer peak memory - Add a raw JSON scanner that splits the document into per-set byte ranges without materializing the JSON tree - Keep only the raw document bytes and parse one set at a time in startImport - Take readSetsFromByteArray by value so the wizard's buffer is moved, not copied - Clear the retained raw data in releaseSetData()/clear() - Cover the scanner and lazy parsing with tests Took 2 minutes * [Oracle] Fix nesting-depth cap, tolerate unescaped control chars, lazy-parse review fixes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| lzma | ||
| zip | ||
| main.cpp | ||
| main.h | ||
| oracleimporter.cpp | ||
| oracleimporter.h | ||
| oraclewizard.cpp | ||
| oraclewizard.h | ||
| pages.cpp | ||
| pages.h | ||
| pagetemplates.cpp | ||
| pagetemplates.h | ||
| parsehelpers.cpp | ||
| parsehelpers.h | ||
| raw_json_scanner.cpp | ||
| raw_json_scanner.h | ||