Skip to content

Conversation

ZoomRmc
Copy link
Contributor

@ZoomRmc ZoomRmc commented Sep 21, 2025

Continuation of #25180. This one refactors the sequence routines.

Preparation for extending with new routines.

Mostly removes repeating code to simplify debugging.

Removes:

  • incrSeqV2 superseded by incrSeqV3,
  • setLengthSeq superseded by setLengthSeqV2

Note comment on line 338, acknowledging that implementation of setLenUninit from #25022 does zero the new memory in this branch, having been copied from setLengthSeqV2. This PR does not fix this.

Continuation of nim-lang#25180. This one refactors the sequence routines.

Preparation for extending with new routines.

Mostly removes repeating code to simplify debugging.

Removes:
 - `incrSeqV2` superseded by `incrSeqV3`,
 - `setLengthSeq` superseded by `setLengthSeqV2`

Note comment on line 338, acknowledging that implementation of
`setLenUninit` from nim-lang#25022 does zero the new memory in this branch,
having been copied from `setLengthSeqV2`. This PR does not fix this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant