Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace safe (obscure) code with simple (unsafe) code #15

Open
antonmarsden opened this issue Feb 22, 2021 · 0 comments
Open

Replace safe (obscure) code with simple (unsafe) code #15

antonmarsden opened this issue Feb 22, 2021 · 0 comments
Labels
improvement Improvement

Comments

@antonmarsden
Copy link
Owner

antonmarsden commented Feb 22, 2021

Some of the current implementations that return or handle multiple mutable sections of a slice, such as row_pair_mut(), are built using safe code which is difficult to follow. Their unsafe implementations will be simpler and should be preferred for the sake of code readability and maintainability.

@antonmarsden antonmarsden added the improvement Improvement label Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement
Projects
None yet
Development

No branches or pull requests

1 participant