tdeio: only create the internal guarded pointer for TDEIO::Job if it is really required. #192

Merged
MicheleC merged 1 commits from tdeio/improve-jobs into master 1 year ago
Owner

This fix avoid creation and destruction of unnecessary TQObjects and helps speeding up operations which requires lot of Jobs.

Copying huge folders requires thousands of jobs. This PR saves quite a number of unnecessary TQObjects.

This fix avoid creation and destruction of unnecessary TQObjects and helps speeding up operations which requires lot of Jobs. Copying huge folders requires thousands of jobs. This PR saves quite a number of unnecessary TQObjects.
MicheleC added 1 commit 1 year ago
MicheleC requested review from SlavekB 1 year ago
MicheleC added this to the R14.1.0 release milestone 1 year ago
MicheleC changed title from tdeio: only create the internal guarded pointer for TDEIO::Job if it is really required. This fix avoid creation and destruction of unnecessary TQObjects and helps speeding up operations which requires lot of Jobs. to tdeio: only create the internal guarded pointer for TDEIO::Job if it is really required. 1 year ago
SlavekB approved these changes 1 year ago
SlavekB left a comment
Owner

It looks good. A very good idea when the object allocation can be completely omitted.

It looks good. A very good idea when the object allocation can be completely omitted.
MicheleC merged commit ea10b6290d into master 1 year ago
MicheleC deleted branch tdeio/improve-jobs 1 year ago

Reviewers

SlavekB approved these changes 1 year ago
The pull request has been merged as ea10b6290d.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdelibs#192
Loading…
There is no content yet.