-
@derSchepp I expect things like this to be rapidly optimized over time. I would always go for the clearest code, which in this case in my opinion is
replaceAll(). Unless it really, really matters. But even then I’d add a ToDo to measure again when the next Node.js version drops.