Topics

Leave a Reply

8 Comments on "Java 8 Lambda Basics 23 – Introduction To Streams"

Notify of
avatar

Rajesh Patel
Guest
Rajesh Patel
1 day 17 hours ago

I tried testing the performance and the streams degrades performance a lot.

The test I ran was with half million Integer of ArrayList and tried the forEach loop on stream (list.stream.filter.foreach), traditional for loop and for-in loop and stream was slowest. I assume multiple operations on the stream creates new iterator which slows it down? Any explanation? I will really like to know.

Adalberto Ortiz
Guest
Adalberto Ortiz
22 days 3 hours ago

Awesome analogy for the streams concept!

hyperborean72
Guest
hyperborean72
23 days 8 hours ago

Thank you so much. You have a great talent of making frightening things simple

sai krishna haridass
Guest
sai krishna haridass
1 month 12 days ago

production line example makes a lot of sense!

Sean Durvasula
Guest
Sean Durvasula
1 month 19 days ago

Indeed very powerful. Its a sin to not use them wherever there is a chance.

Guram Kankava
Guest
Guram Kankava
2 months 13 days ago

Thank you very much.

Hüseyin AYDIN
Guest
Hüseyin AYDIN
3 months 3 days ago

way gardaşıım lamdayı da senden öğrendim. (:

Syed Shah Asad
Guest
Syed Shah Asad
4 months 1 day ago

Great! You made it quite simple 🙂

wpDiscuz