microsoft / security-utilities

Security utilities for key generation, string redaction, etc.
MIT License
25 stars 11 forks source link

Rust/c3id: Decrease allocations & formatting #69

Closed jdraaijer-microsoft closed 3 months ago

jdraaijer-microsoft commented 3 months ago

Reducing the amount of required allocations improves performance by about 20% for few-block computations (0 to 88 characters), and by about 6% for many block (1024 characters) due to reduced (re-)allocation overhead.

Benchmark

jdraaijer-microsoft commented 3 months ago

Closing in favor of https://github.com/microsoft/security-utilities/pull/74