cessen / str_indices

Count and convert between various ways of indexing utf8 string slices.
Apache License 2.0
16 stars 5 forks source link

Add benchmarks. #6

Closed cessen closed 2 years ago

cessen commented 2 years ago

To help measure and improve performance, we should add benchmarks.

Note: since this library is mainly targeting shorter strings (around 100-1000 bytes) rather than full documents, the benchmarks should reflect that so we can optimize for those use-cases.

cessen commented 2 years ago

Added in 4557ca0a34134e4c52253e1034c8f66624bb11ac.