Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ setup
Method
setup
arrays/jmh/ParallelSort.java:13–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
public
class
ParallelSort {
12
private
long[] la;
13
@Setup
14
public
void
setup() {
15
la =
new
Rand.Plong().array(100_000);
16
}
17
@Benchmark
18
public
void
sort() {
19
Arrays.sort(la);
Callers
nothing calls this directly
Calls
1
array
Method · 0.45
Tested by
no test coverage detected