You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Base sub, gsub contain checks for factors which can drastically improve performance. Below is an example of some improvements that {stringr} could get from this check. I'd image that the check would be inside the functions, and not implemented as an additional function (as it is below).
I think this is out of scope for stringr. You can use forcats::fct_relabel + stringr functions if this performance improvement is meaningful for your data.
Base
sub
,gsub
contain checks for factors which can drastically improve performance. Below is an example of some improvements that{stringr}
could get from this check. I'd image that the check would be inside the functions, and not implemented as an additional function (as it is below).Created on 2022-09-08 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: