Sample project comparing Iterable and Sequence in Kotlin. Please checkout this Medium post to get more information.
In this project there are two main modules: lists and listsbenchmark
In this module, there are two packages with code examples:
- com.angelicao.lists: there are collection implementations in Java and Kotlin.
- com.angelicao.compare: there is a file, CompareIterableSequence, where operation with sequence and iterable are executed.
In this module, there is the Jetpack Benchmark code configuration, and the instumented tests with benchmark implementation.