Eliminate redundant nil checks in ChunkedSeq

Description

In the implementation of ChunkedSeq, there are two redundant nil checks: One in the ISeq implementation and one in the INext implementation. Both involve checks to the return value of chunked-seq which always returns a non-nil ChunkedSeq instance.

These can be removed, leading to simpler, more efficient code.

Environment

None

Activity

Show:
Mike Fikes
May 12, 2019, 4:51 PM

Duplicate of CLJS-2138.

Assignee

Unassigned

Reporter

Mike Fikes

Labels

Approval

None

Patch

None

Priority

Major
Configure