KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
106 stars 94 forks source link

consider replacing `hex` with `const-hex` for improved performance #2260

Open borngraced opened 3 weeks ago

borngraced commented 3 weeks ago

It looks like the hex crate (https://github.com/KokaKiwi/rust-hex) hasn’t been actively maintained for over three years. Since we work a lot with encoding and decoding, it might be worth considering a switch to the const-hex crate (https://github.com/DaniPopes/const-hex) instead, mainly for the performance improvements

onur-ozkan commented 2 weeks ago

Some dependencies don’t need active maintenance as their implementation relies on strict standards (e.g., md5). But still, I’m quite impressed by the performance difference between hex and const-hex; I think it’s worth trying out!