Previously, we were making a new copy of the entire source string after every scrubbed substitution. In the case of our new, larger log files, this was very slow. It's been changed so we only ever create one new copy. In practice, on a Moto E (2014), scrubbing a 1.5MB log went from >4000ms to ~100ms. |
||
---|---|---|
.. | ||
securesms |