Skip to content

perf: Replace getById call with getFirstNodeById#7604

Open
CarlSchwan wants to merge 1 commit intomainfrom
carl/perf-getbyid
Open

perf: Replace getById call with getFirstNodeById#7604
CarlSchwan wants to merge 1 commit intomainfrom
carl/perf-getbyid

Conversation

@CarlSchwan
Copy link
Member

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

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

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

Signed-off-by: Carl Schwan <carlschwan@kde.org>
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.

3 participants