Skip to content

SelectAll() can be slow due to virtual paradigm #680

@joachimmarder

Description

@joachimmarder

SelectAll() can be slow due to virtual paradigm. SelectAll() iterates the tree, which initializes the nodes and so can lead to many calls to the OnInitChildren event handler. Surrounding the call to SelectAll()with BeginUpdate()/ EndUpdate() improves the situation.

Proposed solution: SelectAll() should call BeginUpdate()/ EndUpdate() automatically if an OnInitChildren event handler is assigned.

Metadata

Metadata

Assignees

Labels

EnhancementOpen for DiscussionThere are several possibilites to address the issue and anyone is invited for comments.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions