Skip to content

Conversation

@ivan770
Copy link

@ivan770 ivan770 commented Nov 19, 2025

Changes in this pull request

Change is_zero implementation by removing unsafe code and simply using the slice iterator.

Unless I am missing some part of undocumented functionality here, naive iterator implementation
results in a better codegen: https://godbolt.org/z/sj3vM8xdj

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@ivan770 ivan770 closed this Nov 19, 2025
@ivan770 ivan770 reopened this Nov 19, 2025
@ivan770 ivan770 closed this Nov 19, 2025
@ivan770 ivan770 reopened this Nov 19, 2025
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