提交 0f4dde21 authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Formatting, code style, Javadocs

上级 88c6bd3a
...@@ -113,12 +113,12 @@ public class TestPerfectHash extends TestBase { ...@@ -113,12 +113,12 @@ public class TestPerfectHash extends TestBase {
s = test(size, true); s = test(size, true);
time = System.nanoTime() - time; time = System.nanoTime() - time;
System.out.println((double) s / size + " bits/key (minimal old) in " + System.out.println((double) s / size + " bits/key (minimal old) in " +
TimeUnit.NANOSECONDS.toMillis(time) + " ms"); TimeUnit.NANOSECONDS.toMillis(time) + " ms");
time = System.nanoTime(); time = System.nanoTime();
s = test(size, false); s = test(size, false);
time = System.nanoTime() - time; time = System.nanoTime() - time;
System.out.println((double) s / size + " bits/key (not minimal) in " + System.out.println((double) s / size + " bits/key (not minimal) in " +
TimeUnit.NANOSECONDS.toMillis(time) + " ms"); TimeUnit.NANOSECONDS.toMillis(time) + " ms");
} }
@Override @Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论