tjhunter / timrcv

A library of rank voting algorithms
Apache License 2.0
1 stars 1 forks source link

Performance improvement: remove hash tables during tabulation #18

Open tjhunter opened 2 years ago

tjhunter commented 2 years ago

When counting the ballots, a hash table is not necessary. The CandidateIds are already assigned from 0 to n. An array would be enough.