LOL so yes ref counting was a bottle neck, but only because I’m an idiot and accidentally called my heavy quadratic calculation hundreds of times more than I needed to 🤦♂️
I wish this was easier to see in the profiler. But also: check your assumptions!