Skip to content

votes.clone() is unnecessary in tally() #40

Description

@HellFelix

tally() takes self by value but clones the votes vec before passing it to Tally::compute. The original could be moved directly.

File: rustsystem-server/src/vote_auth.rs:107

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowLow priorityperformanceRelated to the performance of the system

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions