mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-16 14:15:57 -06:00
[GH-ISSUE #12] Lazy loading types for startup perf. #9
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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++
NetTypeInfotype support lazy loading to prevent the recursion, and only load type info on demand (when actually creating the object in Qml).