On Tuesday, 13 April 2021 19:11:51 PDT Stottlemyer, Brett (B.S.) wrote: > Yes, small but reparsing isn't negligible. The idea is to cache (to disk) a > number of files, and when run, the application dynamically picks the right > files to use. I am caching in RAM as well, once the files are parsed, but > it is the initial load time I was trying to reduce. Or did I misunderstand > your suggestion?
No, that was it. I assume you're caching templates which you need to modify slightly for each reply, not plain-text JSON. > Thanks, Mårten. Unfortunately, I'm still on Qt 5.15 which seems to be > incompatible with that code (crash). I'm guessing because the > QJsonDocument input/output from the new methods is expecting the Qt6 > version of the class. In Qt 5, the existing methods in QJsonDocument continue to work like they have done since 5.0. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
