mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
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:
committed by
intellij-monorepo-bot
parent
8f1853ab9e
commit
6ed3465b66
Binary file not shown.
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user