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

add option to prefer java #219

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add option to prefer java #219

wants to merge 2 commits into from

Conversation

subes
Copy link

@subes subes commented Apr 10, 2024

Fixes #218

Added a system property "net.jpountz.lz4.PREFER_NATIVE" (defaults to true when absent). By setting "net.jpountz.lz4.PREFER_NATIVE=false" we can prefer the java version in LZ4Factory.fastestInstance().

@subes subes changed the title https://github.com/lz4/lz4-java/issues/218 add option to prefer java add option to prefer java Apr 10, 2024
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.

add option to prefer java version when a library is hardcoded to LZ4Factory.fastestInstance
1 participant