In this chapter, we introduced data structures, time complexity, and collections and sequences in Kotlin. We used the JMH framework to inspect code and found some approaches to improve the performance of various operations.
In the next chapter, we'll learn how to optimize access to fields in Kotlin.