microsoft / security-utilities

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

Rust/c3id: Decrease allocations & formatting #74

Closed jdraaijer-microsoft closed 3 months ago

jdraaijer-microsoft commented 3 months ago

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

Benchmark