Marian C.
Dec 1, 2021

--

Hello Sergiy

Thank you for your lovely comment. I admit a code with method references could be slightly shorter.

But then would you be able to upgrade any line in my code to Java 17? For example could you find a type that can be replaced with var? I see one place that I deliberately left for legibility.

The shared code measuring time is in bold. About ForkJoinPool you can read in its API. JIT compiler has nothing to do with the throughput of network requests or a number of threads that can coexist at the same time.

Briefly, would you be able to make a code that outperforms my Java HTTP-client based code?

--

--

Marian C.
Marian C.

Written by Marian C.

Java, JavaScript and SQL developer. Interested in data collection and visualization.

Responses (1)