apuntes:concurrencia
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
apuntes:concurrencia [2023/05/28 11:43] – [Streams paralelos] Santiago Faci | apuntes:concurrencia [2023/05/28 11:44] – [Streams paralelos] Santiago Faci | ||
---|---|---|---|
Line 644: | Line 644: | ||
< | < | ||
- | {{ parallel_sequential.png }} | + | {{ parallel-sequential.png }} |
< | < | ||
Line 659: | Line 659: | ||
<code java> | <code java> | ||
- | | + | long count = Stream.iterate(0, |
- | .limit(500000) | + | .limit(500000) |
- | .parallel() | + | .parallel() |
- | .filter(Main:: | + | .filter(Main:: |
- | .count(); | + | .count(); |
System.out.println(" | System.out.println(" | ||
</ | </ |
apuntes/concurrencia.txt · Last modified: 2023/05/28 23:59 by Santiago Faci