Skip to content

Seq.shuffle() (and others) should delay buffering until a terminal op requests the stream values #195

@lukaseder

Description

@lukaseder

See comment there:
aol/cyclops#99 (comment)

Others:

  • innerJoin()
  • leftOuterJoin()
  • removeAll()
  • retainAll()
  • window()
  • zip() eagerly allocates an Iterator
  • SeqUtils.transform() eagerly allocates a Spliterator
  • reverse()
  • crossJoin()
  • duplicate()
  • grouped()
  • partition

In short: Each operation has this flaw

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions