diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-16 11:45:27 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-17 11:06:16 +0000 |
commit | 29e4b97bad6511ebd6aa009a47594395957c0e8e (patch) | |
tree | 32ba86bf9105b4468dc94cb5bc0191d5f0512237 /src/particles/qquickrectangleextruder.cpp | |
parent | f43c1d902d908c6cd523b0174338ac0c98a30647 (diff) |
Add support for disk caching of ES modules
Two minor fixes needed for this otherwise straight-forward change:
(1) When compiling modules, use the full url for the source file of
the compilation unit, as that's what we use for the relocation check
when loading the cache file.
(2) Record the proper source time stamp for cache invalidation.
As a bonus, when importing scripts from .qml files, we now also attempt
to use the cached version that we created on the fly in an effort to
replace heap memory with mmap backed memory - just like we do for .qml
files.
Change-Id: I5b03a18e3c44d537c3242cb1d969636df32fe42a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/particles/qquickrectangleextruder.cpp')
0 files changed, 0 insertions, 0 deletions