My question is that, does `qmlcachegen` compress the bytecode before it is embedded in the generated C++ source file? If not, is there a plan to do that or a reason not to do that?
The byte code is not compressed. If it was, we couldn't mmap() it in straight from the file (which can be paged back to disk by the OS on inactivity) but instead would have to spend additional memory to hold the uncompressed byte code. Doing so is considered more expensive than the binary size footprint of the uncompressed code.
best, Ulf -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development