Skip to content

Optimize Lazy Seqs #209

@halgari

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions