Open scarytom opened 4 weeks ago
@scarytom Hi Tom, thanks for looking into this 🙏
Unfortunately I'm definitely not keen on anything that'd impact performance for typical users. Haven't given this detailed thought since I'm currently focused on other priorities, but in case it's helpful - some other ideas to consider would be:
Use reflective calls to interact with org.tukaani/xz and io.airlift/aircompressor so that users of nippy can choose to exclude those dependencies if they aren't using compression.
Reflective calls are much slower, and some type-hints were also removed, so these changes might affect performance.