Closed ghost closed 8 months ago
I have submitted this PR with the aim of enhancing the portability of parity-db across various architectures. Your review and feedback on this improvement would be greatly appreciated.
Thank you for the PR.
We need to be sure sure that lz4_flex
and lz
are 100% compatible. lz4_flex
should be able to decompress existing data at least. I'm going to check that on a large enough real world database sometime soon.
I appreciate your feedback. To ensure widespread compatibility with stable Rust and various architectures, including NixOS, while maintaining the reliability of the original production-ready codebase, I have implemented the required modifications, all of which are now incorporated in this commit. I kindly request your review and input on these improvements. Your perspectives are truly invaluable.
Finally go to testing this, at the compatibility seems to be in order.
However I think adding all these features is an overkill and a maintenance burden. It would be enough to simply replace lz
with lz4_flex
and disable jemallocator for the msvc target.
Let us know if you still interested in doing this. Otherwise we'll just patch it on our own.
Feel free to make any necessary changes. My goal was to make the library as simple and portable as possible by removing C/C++ language dependencies.
This enhancement aims to broaden the reach of the project by ensuring seamless integration with NixOS and Musl-based systems while maintaining performance and reliability.