So, it's the "replace with empty" operation that's slow. When you replace all with non-empty value, it's not slow.
So, it's the "replace with empty" operation that's slow. When you replace all with non-empty value, it's not slow.