Sieve of erathostene in mono and multi thread. The objectif is to find all prime numbers between 2 and java.Integer.MAX_VALUE -2 (2.147.483.645)
Benchmark with MacBook Pro M1 2020 4Go RAM Allocated, 2 to 2.147.483.645:
- Monothread -> 13,7s
- Multithread -> 8s