The second performs more operations (assuming stdl...
# announcements
r
The second performs more operations (assuming stdlib everything) - see https://kotlinlang.org/docs/reference/sequences.html for why and for the stdlib alternative
h
I thought sequences in kotlin inherently had overhead because of data structuring or some such, not because of the theoretical impact
r
whoops, looks like I misread your question as "which one performs more operations?" instead of "which one performs better?" sorry about that
h
yeah, and I'm not instantiating a
Sequence
here. They're still
Collection
methods