This commit is contained in:
sockybob 2021-06-17 12:13:23 +03:00 committed by GitHub
parent 591fd9c138
commit 6b75283f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ String constants should be consts, use StringBuilders (or just ArrayLists of str
One thing I did not expect to be such an issue is intermediate lists when sorting and mapping.
But appparently, the memory allocation for these tasks is Serious Business.
But apparently, the memory allocation for these tasks is Serious Business.
So whenever possible, take your list and .asSequence() it before actiating list operations - this results in huge savings of both time and memory!