CLN: _replace_single
Confirmed that the `regex` kwarg is always bool, which lets us remove some gymnastics (L2570-L2586).  Then removed always-True `convert` kwarg.
ok nice clean, can you run some bencharmarks; iirc this was a performance case. prob not a big deal (and maybe i am wrong). > ok nice clean, can you run some bencharmarks; iirc this was a performance case. prob not a big deal (and maybe i am wrong).

I'll give it a go.  I'm pretty sure the perf issue would have been in replace_list; thats where we have some semi-kludgy optimizations in place. > > ok nice clean, can you run some bencharmarks; iirc this was a performance case. prob not a big deal (and maybe i am wrong).
> 
> I'll give it a go. I'm pretty sure the perf issue would have been in replace_list; thats where we have some semi-kludgy optimizations in place.

yeah certainly possible. asv with `-b replace` show no change more replace-related PRs coming up