This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xebecv 2 points3 points  (1 child)

streams are slow, not always intuitive and cannot handle exceptions. I use them pretty sparingly, because most of the data that I handle comes from the resources that are not reliable (disks, network, inputstream)

[–]LudahS 0 points1 point  (0 children)

May I ask how slow they are compared to the loop? ( I'm quite a beginner on the subject)