When Greed Is Good: Understanding Java Stream Performance

.png .png

📥 Download source code

About the Speaker

.jpg

Why Use Streams?

.png

What About Performance?

.webp

Peeking Under the Hood

Pushing Elements Through

Watching the JIT

.png

A Change of Strategy

Short Circuit Affects Performance

Parallel Streams

Not All Days Are Happy

Gatherers

.jpg

Implementing Gatherers

When Greed is Good

The End

.svg