Closed Sainan closed 6 days ago
Made string.replace binary-safe, which saves the time of needing to measure the length of the C strings, and added a fast path for the case of max_replace == 0.
max_replace == 0
Made string.replace binary-safe, which saves the time of needing to measure the length of the C strings, and added a fast path for the case of
max_replace == 0
.