IDEA's Kotlin plugin 1.2.70 introduced a new defau...
# announcements
b
IDEA's Kotlin plugin 1.2.70 introduced a new default inspection to convert chains of collection functions into sequences... But, for example, this code:
Copy code
list
    .distinct()
    .chunked(20)
Why is the inspection warning to convert it? Would it make any difference wrapping these 2 calls into a Sequence? Wouldn't
distinct()
be called for all elements anyway?