|
|
|
|
|
by saurik
3400 days ago
|
|
This entire subthread is clearly a digression ;p, but why do you say that? The rules were about using a built-in or standard collection: this Java implementation does not use HashMap and instead uses a random project with a better data structure for this use case. This is a loophole to bypass the restriction on writing your own hashtable: you just have to publish it first? ;P |
|
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
Java #3 => HashMap
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
Java #5 => HashMap
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
Java #4 => HashMap
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...