[GH-ISSUE #12] Lazy loading types for startup perf. #9

Closed
opened 2026-05-05 10:58:48 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @pauldotknopf on GitHub (Jul 16, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/12

Currently, loading a .NET type, we go thread all it's member types, recursively.

If you have a large project with many types, even referencing types of larger libraries with a large dependency chain, this could impact startup time.

We need to make the C++ NetTypeInfo type support lazy loading to prevent the recursion, and only load type info on demand (when actually creating the object in Qml).

Originally created by @pauldotknopf on GitHub (Jul 16, 2018). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/12 Currently, loading a .NET type, we go thread all it's member types, recursively. If you have a large project with many types, even referencing types of larger libraries with a large dependency chain, this could impact startup time. We need to make the C++ ```NetTypeInfo``` type support lazy loading to prevent the recursion, and only load type info on demand (when actually creating the object in Qml).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#9
No description provided.