MCPcopy Create free account
hub / github.com/Proryanator/encoder-benchmark / new

Method new

engine/src/permutation_engine.rs:39–47  ·  view source on GitHub ↗
(log_files: String)

Source from the content-addressed store, hash-verified

37// this way we can make the run() method a lot less complex
38impl PermutationEngine {
39 pub fn new(log_files: String) -> Self {
40 return Self {
41 permutations: vec![],
42 results: vec![],
43 dup_results: vec![],
44 vmaf_scores: HashSet::new(),
45 log_files_directory: log_files,
46 };
47 }
48
49 pub fn run(&mut self) {
50 let runtime = SystemTime::now();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected