Reuse seq in some

Description

By using when-let at most two seq constructions can be avoided per invocation of some.

Patch: clj-1654.patch

Screened by: Alex Miller

Environment

None

Attachments

2

Activity

Show:

Alex Miller January 12, 2016 at 3:40 PM

Updated patch to include ticket number in commit message, no other changes, attribution retained.

Ghadi Shayban February 4, 2015 at 6:11 PM

This is similar to the tweak to dorun/doall in CLJ-1515. It is a good benefit when a collection doesn't cache its seq

Completed

Details

Assignee

Reporter

Approval

Ok

Patch

Code

Priority

Fix versions

Created February 4, 2015 at 4:17 PM
Updated September 14, 2018 at 10:21 PM
Resolved September 14, 2018 at 10:21 PM