Clojure

Replace seq-based iterators with direct iterators for all non-seq collections that use SeqIterator

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: Release 1.7
  • Fix Version/s: Release 1.7
  • Component/s: None
  • Labels:
    None
  • Approval:
    Vetted

Description

What the title says

Activity

Hide
Alex Miller added a comment -

The list of non-seqs that uses SeqIterator are:

  • records (in core_deftype.clj)
  • APersistentSet - fallback, maybe is ok?
  • PersistentHashMap
  • PersistentQueue
  • PersistentStructMap

Seqs (that do not need to be changed) are:

  • ASeq
  • LazySeq.java

LazyTransformer$MultiStepper - not sure

Show
Alex Miller added a comment - The list of non-seqs that uses SeqIterator are:
  • records (in core_deftype.clj)
  • APersistentSet - fallback, maybe is ok?
  • PersistentHashMap
  • PersistentQueue
  • PersistentStructMap
Seqs (that do not need to be changed) are:
  • ASeq
  • LazySeq.java
LazyTransformer$MultiStepper - not sure

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: