News for hackers. Stuff that matters.
Re:Rectangle{} debugging in QML – like printf(), but for QT by yellow_lead on Tuesday September 14, 2021 @03:38PM (#28529935)
If it's a non-release build that seems fine, but do you have a way to disable this in release builds? Even if the object doesn't show, since QML may be loaded dynamically, having these scattered around could slow your app.
Re:Rectangle{} debugging in QML – like printf(), but for QT by milianw on Wednesday September 15, 2021 @03:41AM (#28536357)
I still remember optimizing customer code bases that suffered from horrible startup performance because they instantiated thousands of debug rects unconditionally all the time...
Re:Rectangle{} debugging in QML – like printf(), but for QT by yellow_lead on Wednesday September 15, 2021 @11:14PM (#28547536)
Yeah and in QML you can wrap this in a loader but even if it's disabled I could see potential problems there.