Skip to content

perf: Replace getById call with getFirstNodeById#981

Merged
CarlSchwan merged 2 commits intomasterfrom
carl/perf-getbyid
Feb 5, 2026
Merged

perf: Replace getById call with getFirstNodeById#981
CarlSchwan merged 2 commits intomasterfrom
carl/perf-getbyid

Conversation

@CarlSchwan
Copy link
Copy Markdown
Member

We only use the first node anyway and using getFirstNodeById is faster.

We only use the first node anyway and using getFirstNodeById is faster.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan force-pushed the carl/perf-getbyid branch 2 times, most recently from 8798a81 to d8093cf Compare February 5, 2026 12:31
@CarlSchwan CarlSchwan enabled auto-merge February 5, 2026 12:31
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan merged commit 8dead3a into master Feb 5, 2026
48 checks passed
@CarlSchwan CarlSchwan deleted the carl/perf-getbyid branch February 5, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants