BytecodeAnalysisIndex: use faster hashes; encode key in 12 bytes instead of 14

Bytes per class in integration test reduced from 2083 to 1900

GitOrigin-RevId: 1c0e84b6c70869283e9db48b718e44e78dc3c554
This commit is contained in:
Tagir Valeev
2019-10-30 10:09:22 +07:00
committed by intellij-monorepo-bot
parent 8f1853ab9e
commit 6ed3465b66
12 changed files with 64 additions and 126 deletions

View File

@@ -1,12 +1,12 @@
package bytecodeAnalysis.data;
public final class TestHashCollision {
// signature hashes for these two methods collide: MD5("()V"+"test11044") and MD5("()V"+"test20917") have the same prefix: 3d802c48
void test11044() {
// signature hashes for these two methods collide (see HMember implementation: murmur hash is used)
void test4691() {
// Though purity can be inferred for this method, due to collision we erase inference result
}
void test20917() {
void test184537() {
System.out.println("non-pure");
}
}