(e: &TplEntry, args: &[Val], h: u64, heap: &super::types::HeapPool)
| 197 | // Template memoization for pure functions. |
| 198 | |
| 199 | fn args_match(e: &TplEntry, args: &[Val], h: u64, heap: &super::types::HeapPool) -> bool { |
| 200 | e.hash == h |
| 201 | && e.args.len() == args.len() |
| 202 | && e.args.iter().zip(args).all(|(a, b)| eq_vals_with_heap(*a, *b, heap)) |
| 203 | } |
| 204 | |
| 205 | const TPL_THRESH: u32 = 2; |
| 206 |
no test coverage detected