Faster saving and hashing
- XML text is printed straight from the node tree by a Printer that matches tinyxml2's XMLPrinter byte for byte; no tinyxml2 document is built to save. - Numbers format with std::to_chars (whole numbers as integers) instead of snprintf, with the same text as "%.8g". - Frame attribute and track child vectors are reserved up front. - Repeated attributes in a read file collapse as tinyxml2 wrote them. Corpus (1,251 files, Release): save 4.2 s -> 0.77 s, extended save 0.61 s -> 0.12 s, hash 0.28 s -> 0.13 s; every output is byte-identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4b21fd90c
commit
210232eb83
4 files changed
+142
-22
No files matched your search
@@ -36,6 +36,7 @@ namespace anm2ed::imgui::wizard
|
||||
{"Design/Programming", font::BOLD},
|
||||
{"Shweet"},
|
||||
{"OpenAI Codex"},
|
||||
{"Claude Code"},
|
||||
{""},
|
||||
{"Additional Help", font::BOLD},
|
||||
{"im-tem"},
|
||||
|
||||
Reference in new issue
Block a user