Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
javafoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
javafoo
12y ago
Crawling your book, i stumble over several codes that use flags instead of "return" to exit, by example, you use two flags for searching on an ordered list. These kind of codes are not great for beginners because they tend to thin
2.
▲
by
javafoo
12y ago
It's configurable ! ForkJoinPool forkJoinPool = new ForkJoinPool(2); forkJoinPool.submit(() -> // write your parallel query here ).get();