Skip to content

Optimize Lazy Seqs #209

Description

@halgari

Can we get the JIT to completely remove the overhead of lazy seqs? I'll be looking into this before the 0.2 release. I'd like to see: (reduce + 0 (map inc (map dec (range 10)))) basically compile down to a loop. I know transducers could be used to do this, and they are already fast, but it'd be nice to get the JIT to allocation removal for seqs as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions