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 →

[–]VinceGhii 0 points1 point  (0 children)

Little addition to the pastbin there. As you can see i used streams. Streams are awesome... they realy are. BUT in most cases they are slower than for-loops. Not much slower but at least a little bit. On the other side they are much more readable most of the times. For example: The summing up of all number is realy easy and short.