Skip to content
  • vdukhovni's avatar
    Small ZipList optimisation · 9e724f6e
    vdukhovni authored and Marge Bot's avatar Marge Bot committed
    In (<|>) for ZipList, avoid processing the first argument twice (both as first
    argument of (++) and for its length in drop count of the second argument).
    
    Previously, the entire first argument was forced into memory, now (<|>) can run
    in constant space even with long inputs.
    9e724f6e