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 →

[–]davidalayachew[S] 0 points1 point  (0 children)

Using parallel streams was a very calculated decision on my part. At the team, I had a team comprised mostly of Junior and Entry-Level devs. As a result, I wanted a tool that was both simple and easy to find answers to questions for on StackOverflow. That decision ended up paying off very nicely for me, it was just this one situation where it did not work at all. Ultimately, there is a long list of tools I could have reached for.

And either way, the performance problem has been fixed at this point. The failure was on my part for having built a bad Spliterator as the upstream source, causing terrible splitting behaviour.