4 ms·
If that's the workflow you want during development, you can always replace references with a RwLock. That of course is not made very fun by neither the language
by estebank 3y ago
If that's the workflow you want during development, you can always replace references with a RwLock. That of course is not made very fun by neither the language (you need to touch too many places in your code to switch back and forth) nor the tooling (we need more advanced refactoring tools, if the language won't change, I'd love it if we had an "add a lifetime to this type everywhere" action in my editor).