(l: u64, r: u64)
| 48 | // Combines two hashes into one hash |
| 49 | #[inline] |
| 50 | pub fn combine_hashes(l: u64, r: u64) -> u64 { |
| 51 | let hash = (17 * 37u64).wrapping_add(l); |
| 52 | hash.wrapping_mul(37).wrapping_add(r) |
| 53 | } |
| 54 | |
| 55 | /// Maximum size for the thread-local hash buffer before truncation (4MB = 524,288 u64 elements). |
| 56 | /// The goal of this is to avoid unbounded memory growth that would appear as a memory leak. |
no outgoing calls
no test coverage detected
searching dependent graphs…