In this chapter, we looked at the concept of ranges in Kotlin and investigated the Kotlin standard library. We tried out common uses of ranges and inspected bytecode. We learned that we should be careful with types when we work with ranges and benchmarked some examples.
In the next chapter, we'll learn how to work in a multithreading environment.