Skip to content

Conversation

@bokken
Copy link
Contributor

@bokken bokken commented Aug 28, 2024

small performance improvement reading crc32c values in SnappyFramedInputStream by allowing the ByteBuffer to do the work. As these are direct ByteBuffer instances, this means only a single call across native boundary.

@bokken
Copy link
Contributor Author

bokken commented Sep 4, 2024

@xerial any chance to review?

@xerial xerial merged commit da1af8b into xerial:master Sep 10, 2024
dongjoon-hyun pushed a commit to apache/spark that referenced this pull request Sep 11, 2024
### What changes were proposed in this pull request?
This pr aims to upgrade snappy-java from 1.1.10.6 to 1.1.10.7.

### Why are the changes needed?
The new version bring a small performance improvement reading crc32c values in SnappyFramedInputStream
- xerial/snappy-java#594

The full release notes as follows:
- https://github.com/xerial/snappy-java/releases/tag/v1.1.10.7

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #48076 from LuciferYang/SPARK-49599.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@bokken bokken deleted the input_stream_crc32c_read branch October 5, 2024 14:00
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