Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 18, 2023

This seems the correct way to define most conversions, since the unsafe logic should typically be isolated to a few areas, and everywhere else just defines conversions to it. This ensures the root is preserved even if the user later makes unexpected changes to the parent object (although the length might have later become inconsistent at that point, so it is not a guaranteed fix for memory issues).

This seems the correct way to define most conversions, since the unsafe
logic should typically be isolated to a few areas, and everywhere else
just defines conversions to it. This ensures the root is preserved even
if the user later makes unexpected changes to the parent object
(although the length might have later become inconsistent at that point,
so it is not a guaranteed fix for memory issues).
@vtjnash vtjnash requested a review from JeffBezanson October 18, 2023 18:12
@oscardssmith oscardssmith added the arrays [a, r, r, a, y, s] label Oct 18, 2023
@vtjnash vtjnash merged commit df39cee into master Oct 24, 2023
@vtjnash vtjnash deleted the jn/cconvert-more branch October 24, 2023 15:54
@Keno
Copy link
Member

Keno commented Oct 25, 2023

This PR appears to have broken CI. I'll put up the revert PR to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrays [a, r, r, a, y, s]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants