Move the line that creates regex outside of the keys.filter() method. That way you only create regex once rather than N times (N = # of keys).
Closed this issue · 0 comments
wise-introvert commented
Move the line that creates regex outside of the keys.filter() method. That way you only create regex once rather than N times (N = # of keys).