Github user remkop commented on the issue:
https://github.com/apache/logging-log4j2/pull/218
I'm just not sure that this is a good idea.
It seems to make the code more brittle: if the code changes in the future
this may break something.
It seems safer to just clear the whole array.
That said, I can be convinced otherwise if there is a clear advantage. Can
you put this in perspective with some performance numbers? How much can be
gained by this change?---
