This benchmark serves to illustrate that, as a general rule, initializing an ArrayList is faster than initializing a LinkedList. Additionally, it is usually quicker to initialize a collection by passing a source collection as a constructor parameter than by iterating over the source collection using an Iterator.
azeevg/collections-benchmark
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|