New week, new Rust! What are you folks up to?
Had the day off today and started working on another improvement idea for coi (dependency injection container).
The internals on the released version have a lot of mutexes to manage multiple threads requesting the same not-yet-resolved items. The current experimental branch rewrites most of the internals and relies on atomics to manage the current state (I really wish we could mix atomics and enums). Now the only use of mutex is when resolving an item for the first time, and only to manage a condvar so the other threads aren't wasting cpu cycles while waiting. The current benchmarks show significant improvements, so today's been a good day :).