You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(discovery): avoid per-call QTimer heap allocation when scheduling jobs
Replace the 5 QTimer::singleShot(0, ...) calls that defer
DiscoveryPhase::scheduleMoreJobs with
QMetaObject::invokeMethod(Qt::QueuedConnection). Both achieve the same
deferred (queued) invocation, but invokeMethod does not allocate a
QTimer on the heap for each call. In a large sync with many directories
this eliminates thousands of unnecessary heap allocations.
Signed-off-by: Qoole <2862661+qoole@users.noreply.github.com>
0 commit comments