Current beta evaluates as_name.creator.active_names().filter(name=self.name) once for existence and again to retrieve the first match. The lookup can be evaluated once with .first() and reused.
This minor optimization was surfaced by the automated review of synchronization PR #729 and was not introduced by that PR.
Review context:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()