Nullus157 / bs58-rs

Another Rust Base58 codec implementation
Apache License 2.0
75 stars 24 forks source link

encode: tighten max encoded length estimation #86

Closed mina86 closed 2 years ago

mina86 commented 2 years ago

Instead of using 8/5 ratio (i.e. 1.6) when estimating the length of the encoded output use 1.5 which is closer to the actual 1.37 and produces simpler expression.

Nemo157 commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Merge conflict.

Nemo157 commented 2 years ago

bors retry

bors[bot] commented 2 years ago

Build succeeded: