openjusticeok / ojodb

OJO's R package for opening the black box of our justice system
https://openjusticeok.github.io/ojodb/
GNU General Public License v3.0
5 stars 3 forks source link

Replace all str_ functions with stri_ equivalents #163

Closed brancengregory closed 4 months ago

brancengregory commented 6 months ago

Benchmarks show we can cut some run times of str_detect in half using stri_detect_regex It also shows that specifying case insensitivity in the regex pattern (?i) eeks out a small performance boost over specifying in function arguments

image