(rng: &mut StdRng, len: usize)
| 155 | // ============================================================================= |
| 156 | |
| 157 | fn random_string(rng: &mut StdRng, len: usize) -> String { |
| 158 | String::from_utf8(rng.sample_iter(&Alphanumeric).take(len).collect()).unwrap() |
| 159 | } |
| 160 | |
| 161 | /// Creates a set of strings that share a common prefix but differ in suffix. |
| 162 | /// Uses random alphanumeric suffix to avoid bench-maxing on numeric patterns. |
no test coverage detected
searching dependent graphs…