summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2019-11-13 19:37:00 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-11-14 16:23:39 +0000
commit441926c7d5da515c865a3bc4a3d1d996a6b64b67 (patch)
tree6d30bf6876462ed2375d9d3510c5cbc795c8556f /.gitlab-ci.yml
parent01701e40099a23cf2f8378361fc4bf85693e6da5 (diff)
downloadgobject-introspection-441926c7d5da515c865a3bc4a3d1d996a6b64b67.tar.gz
girepository: Also store GType cache misses
There are notably 4 classes of GTypes where a girepository lookup might fail: - GTypes from private interfaces in public objects (eg. MetaCullable in mutter) - GTypes for private base objects with public interfaces (eg. GLocalFile in GLib) - GTypes registered from the language, and presumably not coming from the GIR - GTypes of objects/interfaces that we didn't load a typelib for It is moot to look for those over and over again, and a full lookup can be taxing if looking up for a method/property on objects with those characteristics. It seems we can cache the misses too, so next lookups are just as quick as an introspected GType. The cache is invalidated after loading new typelibs, in case some of the previously missed GTypes is now properly introspected.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions