Skip to content

chore(arrow): remove most lock copies#362

Merged
zeroshade merged 3 commits intoapache:mainfrom
zeroshade:more-generics
Apr 30, 2025
Merged

chore(arrow): remove most lock copies#362
zeroshade merged 3 commits intoapache:mainfrom
zeroshade:more-generics

Conversation

@zeroshade
Copy link
Copy Markdown
Member

Rationale for this change

#326 moved to using atomic.Int64{] for the refcount, as a result we found many places that we were copying the value. For linting reasons we should remove those.

What changes are included in this PR?

Utilizing generics to clean up the dictionary array code significantly, along with removing most of the cases where we were copying the refcount which contains a lock.

Are these changes tested?

Yes, the existing unit tests cover it all.

Are there any user-facing changes?

Nope.

@zeroshade zeroshade merged commit bcaf453 into apache:main Apr 30, 2025
22 of 23 checks passed
@zeroshade zeroshade deleted the more-generics branch April 30, 2025 14:52
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.

2 participants