Topics

Leave a Reply

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

Notify of
avatar

Rajesh Patel
Guest
Rajesh Patel
1 month 1 day 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
1 month 21 days ago

Awesome analogy for the streams concept!

hyperborean72
Guest
hyperborean72
1 month 23 days ago

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

sai krishna haridass
Guest
sai krishna haridass
2 months 12 days ago

production line example makes a lot of sense!

Sean Durvasula
Guest
Sean Durvasula
2 months 19 days ago

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

Guram Kankava
Guest
Guram Kankava
3 months 13 days ago

Thank you very much.

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

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

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

Great! You made it quite simple 🙂

wpDiscuz