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

Fixup iterator impls for Array #1115

Merged
merged 3 commits into from
Apr 20, 2023
Merged

Conversation

workingjubilee
Copy link
Member

There were a bunch of small problems in these.

This is unrelated to, and thus can be landed in parallel with, the zero-copy Array work. No point in gunking up an already-large PR with additional work.

count, nth, and size_hint did not account for element exhaustion.
pgrx/src/datum/array.rs Outdated Show resolved Hide resolved
It will be made incorrect by zero-copy arrays.
@workingjubilee
Copy link
Member Author

In the further direction of "these PRs actually relate to each other more than I thought", the other one has a conflicting (necessary) edit with the "reduce unsafe" commit, so I am going to drop that one.

@workingjubilee workingjubilee force-pushed the joy/fixing-array-iterator-impls branch from f83a54e to caae6aa Compare April 20, 2023 01:52
@eeeebbbbrrrr eeeebbbbrrrr merged commit 253f811 into develop Apr 20, 2023
@workingjubilee workingjubilee deleted the joy/fixing-array-iterator-impls branch June 20, 2023 17:53
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.

3 participants