Dieter Mayer
139c47d1ce
ElementFactory: read link_type from the cached QDom, drop pugixml pass
...
createElement() ran a full pugixml parse of the element definition for
every instance, only to read the link_type attribute for the subclass
dispatch - on a big example project (191 instances) 49 ms of the load,
measured with temporary instrumentation. The QDom definition is already
cached and the ctor uses it anyway; reading the attribute there costs
~17 ms in total, so the net win is ~30 ms - within run-to-run noise
end-to-end, but it removes an entire redundant parser pass per element.
Behavior unchanged: an absent and an empty link_type both fell through
to SimpleElement before and still do.
(cherry picked from commit d63275971f558c8ac59f35bf4d13d7e424682342)
2026-07-28 13:58:33 +02:00
..
2026-07-14 19:27:18 +02:00
2026-07-14 19:27:17 +02:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-26 18:47:43 +01:00
2026-07-19 11:51:47 +02:00
2026-07-23 13:58:56 +02:00
2026-07-28 13:58:33 +02:00
2026-07-26 21:04:25 +12:00
2026-07-11 21:47:04 +02:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2025-05-22 21:33:32 +02:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2025-02-12 13:41:39 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:26:43 +02:00
2026-07-17 10:26:35 +02:00
2026-07-18 08:00:23 +02:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:18 +02:00
2026-06-12 05:25:44 +12:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:16 +02:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-04-26 10:48:47 +02:00
2026-06-12 05:34:20 +12:00
2026-04-26 10:48:47 +02:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:17 +02:00
2026-01-16 15:24:35 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-05-13 19:42:11 +02:00
2026-05-13 19:42:11 +02:00
2026-07-14 19:48:31 +02:00
2026-05-29 19:14:36 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-21 01:45:07 +12:00
2026-01-16 15:24:35 +01:00
2026-06-18 13:37:24 +02:00
2026-06-18 13:37:24 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-21 01:45:07 +12:00
2026-04-19 10:44:52 +02:00
2026-07-17 10:25:49 +02:00
2026-06-20 22:31:06 +12:00
2026-07-14 19:27:37 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-11 23:48:14 +12:00
2026-06-11 23:48:14 +12:00
2026-05-13 19:42:11 +02:00
2026-05-13 19:42:11 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-26 15:32:11 +02:00
2026-06-21 12:10:13 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-07 21:42:45 +02:00
2026-07-07 16:34:56 +02:00
2026-02-02 14:44:10 +01:00
2026-02-02 14:44:10 +01:00
2026-05-28 12:23:54 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-27 17:37:49 +12:00
2026-07-07 16:34:56 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-19 13:26:34 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:25:49 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:29:13 +02:00
2026-07-17 10:29:13 +02:00
2020-09-07 22:03:40 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2020-09-07 22:03:40 +02:00
2026-01-16 15:24:35 +01:00
2026-06-11 12:39:43 +12:00
2026-06-11 12:39:43 +12:00