From de4ef31cabc20e90d6c6c4fbfc7ad73a1a59fafd Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Thu, 9 May 2024 21:16:42 +0200 Subject: [PATCH 1/5] perf: test prototype mum-add-hasher --- Cargo.lock | 3 +-- Cargo.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1304735f8fad..b85704a13c643 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3447,8 +3447,7 @@ dependencies = [ [[package]] name = "rustc-hash" version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#576bcaf44a3dd1820b0e28166a0244e1f68e0875" [[package]] name = "rustc-main" diff --git a/Cargo.toml b/Cargo.toml index a601ebf4369e0..a33a52e17db57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -111,3 +111,4 @@ strip = true rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' } rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' } rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' } +rustc-hash = { git = "https://github.com/orlp/rustc-hash/", branch = "mum-hash-perf-run" } \ No newline at end of file From 0ca61c1cc6ac329f6a832eaa8bf1f247e1baebbe Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Fri, 10 May 2024 18:54:31 +0200 Subject: [PATCH 2/5] another candidate, a multilinear hash --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index b85704a13c643..8042558fd5ec6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3447,7 +3447,7 @@ dependencies = [ [[package]] name = "rustc-hash" version = "1.1.0" -source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#576bcaf44a3dd1820b0e28166a0244e1f68e0875" +source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#148207f464dbfd22e9345ae59f8907df9fbb84fa" [[package]] name = "rustc-main" From 68f9fe4849ab4ec4c574140e323840bb04f1357e Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Fri, 10 May 2024 19:32:04 +0200 Subject: [PATCH 3/5] forgot with_seed --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 8042558fd5ec6..22364e4d92a78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3447,7 +3447,7 @@ dependencies = [ [[package]] name = "rustc-hash" version = "1.1.0" -source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#148207f464dbfd22e9345ae59f8907df9fbb84fa" +source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#0bb327e2f6df4fd59b2b973da0d0182ee8fecd2d" [[package]] name = "rustc-main" From 19e2b73e5e9417dde57fc05ab9e0f9b6a3f6cc42 Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Sat, 11 May 2024 01:26:28 +0200 Subject: [PATCH 4/5] try polynomial hashing (with bad ilp first) --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 22364e4d92a78..355d84d49dfc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3447,7 +3447,7 @@ dependencies = [ [[package]] name = "rustc-hash" version = "1.1.0" -source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#0bb327e2f6df4fd59b2b973da0d0182ee8fecd2d" +source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#a43a6c7140ba914cab0ea40c3870322abd687517" [[package]] name = "rustc-main" From 1af9748cebf5903fff16b6dbb7ffd47d7e842922 Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Sat, 11 May 2024 05:36:13 +0200 Subject: [PATCH 5/5] better latency + ilp variant of poly hash --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 355d84d49dfc4..0ebb634eb3524 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3447,7 +3447,7 @@ dependencies = [ [[package]] name = "rustc-hash" version = "1.1.0" -source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#a43a6c7140ba914cab0ea40c3870322abd687517" +source = "git+https://github.com/orlp/rustc-hash/?branch=mum-hash-perf-run#223c31462e3b1376abb1a7ccbd2863153fd10a2a" [[package]] name = "rustc-main"