Matthias Clasen
47c12389a0
gobject: Speed up property lookup
...
When the param specs are provided as an array
with g_object_class_install_properties, keep
a copy of that array around and use it for
looking up properties without the param spec
pool.
Note that this is an opportunistic optimization -
currently, it only works for properties of the
class itself, not for parent classes, and it
only works if the property names are identical
string literals (we're at the mercy of the linker
for that).
If we don't get lucky, we fall back to using
the pspec pool as usual.
2022-06-07 12:39:58 -04:00
..
2022-05-31 15:21:46 +01:00
2020-11-24 08:10:58 -06:00
2020-11-20 14:40:19 +00:00
2021-08-02 13:22:23 +01:00
2021-08-02 13:22:23 +01:00
2022-01-28 16:01:22 -08:00
2022-01-28 16:01:22 -08:00
2022-03-04 16:21:55 +00:00
2017-05-24 11:58:19 +02:00
2021-08-29 20:56:08 +00:00
2022-05-22 01:06:37 +00:00
2020-12-11 23:48:35 +00:00
2017-05-24 11:58:19 +02:00
2021-07-29 10:09:27 -04:00
2019-03-04 11:12:59 +00:00
2021-03-03 12:24:29 +06:00
2021-03-11 13:37:49 +00:00
2022-05-20 12:57:36 +01:00
2019-08-24 19:14:05 +00:00
2019-03-04 12:33:17 +00:00
2020-11-17 15:50:07 +00:00
2012-10-15 19:48:44 -04:00
2019-09-05 14:16:58 +01:00
2018-05-15 15:38:33 +01:00
2022-02-11 14:45:42 +00:00
2022-06-07 12:39:58 -04:00
2022-06-07 12:39:58 -04:00
2018-01-04 22:19:30 +01:00
2016-11-23 10:50:39 +00:00
2017-05-24 11:58:19 +02:00
2022-05-23 15:48:28 -04:00
2022-05-23 15:48:28 -04:00
2022-05-25 14:44:48 +01:00
2021-08-02 13:22:23 +01:00
2022-06-06 14:25:41 -04:00
2022-05-22 01:06:37 +00:00
2022-05-17 17:34:06 +02:00
2022-04-05 15:32:20 +01:00
2020-11-20 14:40:19 +00:00
2017-05-24 11:58:19 +02:00
2022-06-06 14:25:41 -04:00
2022-05-20 09:08:09 -04:00
2022-06-06 16:39:41 -04:00
2021-08-02 13:22:23 +01:00
2021-08-02 13:22:23 +01:00
2021-08-02 13:22:23 +01:00
2020-11-02 17:22:01 +00:00
2021-08-02 13:22:23 +01:00
2021-08-02 13:22:23 +01:00
2019-03-15 11:09:36 +00:00
2019-05-30 10:39:11 +01:00
2022-05-23 05:57:36 -04:00
2017-05-24 11:58:19 +02:00
2021-06-23 05:50:59 +00:00
2022-03-04 16:21:55 +00:00
2016-05-23 10:52:10 -04:00
2022-05-06 13:01:44 +01:00