Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge ExpandHRP + value usages into PreparePolynomialCoefficients
Overall resulting in decode being ~22% faster, encode ~32% faster. Before: ``` | ns/byte | byte/s | err% | total | benchmark |--------------------:|--------------------:|--------:|----------:|:---------- | 8.67 | 115,400,002.88 | 0.1% | 1.10 | `Bech32Decode` | 18.76 | 53,300,176.12 | 0.2% | 1.10 | `Bech32Encode` ``` After: ``` | ns/byte | byte/s | err% | total | benchmark |--------------------:|--------------------:|--------:|----------:|:---------- | 7.10 | 140,922,648.34 | 0.1% | 1.10 | `Bech32Decode` | 14.20 | 70,425,968.92 | 0.1% | 1.10 | `Bech32Encode` ```
- Loading branch information