(mut self, logic: CsvLogic, col: &str, prefix: &str)
| 706 | self |
| 707 | } |
| 708 | |
| 709 | pub fn run(&self) -> CSVQueryResult { |
| 710 | let mut rows = Vec::<usize>::new(); |
| 711 | // Direct loops instead of a boxed `dyn Iterator`: avoids a per-run heap |
| 712 | // alloc and the vtable `next()` call on every row. |
| 713 | match self.candidate_rows() { |
| 714 | Some(candidates) => { |
| 715 | for row_idx in candidates { |
| 716 | if self.matches(row_idx) { |
| 717 | rows.push(row_idx); |
| 718 | } |
| 719 | } |
| 720 | } |
no test coverage detected