Commit 5a6f546
committed
Make LogicUtil#removeDuplicates more efficient
Prevents expansion costs of the unique element ArrayList by making its initial size the size of the input Collection.
Signed-off-by: Ollie <o.dzineit@gmail.com>1 parent 42727a2 commit 5a6f546
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments