Skip to content

Use iterators instead of lists #10

Description

@Gadiguibou

Perform copy detection using iterators instead of lists and concatenated strings to avoid unnecessary memory allocations for large projects.

  • Benchmark baseline performance of the current tool using a test dataset and the hyperfine command-line tool
  • Change some of the key methods to take in Iterators (using a generic type) instead of Vecs. The goal is to lazily process as much as possible and avoid copies.
  • Benchmark it again to see if there was a performance improvement.
  • Open a PR 🚀!

Metadata

Metadata

Labels

performancePerformance optimization

Type

No type
No fields configured for issues without a type.

Projects

Status
"Sprint" Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions