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

ARROW-8320: [Format] Add clarification to CDataInterface.rst regarding memory alignment of buffers #6840

Closed
wants to merge 2 commits into from

Conversation

wesm
Copy link
Member

@wesm wesm commented Apr 4, 2020

This recommends at least a minimum alignment based on the type of data the buffer contains. For example, if the buffer contains int32_t data, then a minimum of 4-byte alignment is recommended.

If an Arrow implementation finds unaligned memory burdensome due to aliasing issues or undefined behavior, this also clarifies that they are not expected to support it.

@wesm wesm requested a review from pitrou April 4, 2020 23:23
@github-actions
Copy link

github-actions bot commented Apr 4, 2020

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, than you.

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.

None yet

2 participants