trifork / erjang

A JVM-based Erlang VM
http://www.erjang.org
Apache License 2.0
726 stars 62 forks source link

EFun.compare_same() is trickily broken #25

Open eriksoe opened 14 years ago

eriksoe commented 14 years ago

Of 2^16+1 different EFun instances, at least one pair will compareSame()==0. (And according to the Birthday Paradox, a collision can be found among far fewer.)