Commit Graph

54 Commits

Author SHA1 Message Date
d00ab6533d use a static final empty array if list is empty 2017-09-26 20:10:54 +02:00
ab7d554d52 grow the array only by 50%
The old implementation grew the array by 100% with each resize.
The new implementation reduces the memory usage for, especially
for large lists.
The new algorithm is overflow-concious.
2017-09-26 19:59:50 +02:00
f7870a15a7 add sort (ascending) method 2017-02-05 14:18:47 +01:00
145c2152d0 Add IntList a list implementation for primitive integers. 2017-02-03 20:31:58 +01:00