Skip to content

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

@HellFelix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowLow priorityperformanceRelated to the performance of the system

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions