JoshRosen commented on issue #24905: [SPARK-28102] Avoid performance problems when lz4-java JNI libraries fail to initialize URL: https://github.com/apache/spark/pull/24905#issuecomment-503620956 @srowen, good idea: I dug into this some more and it turns out that we can simply cache the result of `LZ4Factory.fastestInstance()` because the factories themselves are thread-safe. I've updated the PR (and description) to do this, avoiding the need to introduce any new configurations.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
