mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
88a45e6178
We did a ton of work earlier to make sure we can reuse these objects, but `auto` implies the type is never a reference type, and we were thus unnecessarily creating copies every iteration, kind of defeating the purpose of doing all of this in the first place. We could do some template trickery here, but it's also safe to just make the persistent object thread local since the actual objects aren't that large.