Closed emberian closed 5 years ago
This would be handy. Currently I do the very inefficient
let is_prefix t ~prefix = String.is_prefix (of_string t) ~prefix:(of_string prefix)
Agreed. Tracked here: https://bitbucket.org/thanatonauts/bitstring/issues/1/add-support-for-fast-bitstringis_prefix
Done: https://bitbucket.org/thanatonauts/bitstring/commits/5de68418a677ab0fd06cfef217d1de9597c3a4bb
This would be handy. Currently I do the very inefficient