This function has terrible perf so I want to try improving it, but I need some examples to test against to make sure I don't break anything.
This function has terrible perf so I want to try improving it, but I need some examples to test against to make sure I don't break anything.