ckcr4lyf / kiryuu

A highly performant HTTP bittorrent tracker (WIP)
Do What The F*ck You Want To Public License
13 stars 3 forks source link

Feature/string to u8 #27

Closed ckcr4lyf closed 1 year ago

ckcr4lyf commented 1 year ago

Reduce String allocations

ckcr4lyf commented 1 year ago

FYI: Bench

Make redis keys/u8      time:   [86.574 ns 86.894 ns 87.298 ns]
Make redis keys/String  time:   [247.48 ns 248.87 ns 250.68 ns]