()
| 111 | } |
| 112 | |
| 113 | fn precompute_lookup_table() -> [[u8; 16]; 16] { |
| 114 | let mut table = [[0; 16]; 16]; |
| 115 | for i in 0..16 { |
| 116 | for j in 0..16 { |
| 117 | table[i][j] = (i * j) as u8; |
| 118 | } |
| 119 | } |
| 120 | table |
| 121 | } |
| 122 | |
| 123 | fn multiply_quantized_vectors(a: &[u8], b: &[u8], lookup_table: &[[u8; 16]; 16]) -> Vec<u8> { |
| 124 | let len = a.len().min(b.len()); |
nothing calls this directly
no outgoing calls
no test coverage detected