Emil Lauridsen 05aa5b854b Remove RWLock from check watcher.
@matklad mentioned this might be a good idea.

So the general idea is that we don't really need the lock, as we can
just clone the check watcher state when creating a snapshot. We can then
use `Arc::get_mut` to get mutable access to the state from `WorldState`
when needed.

Running with this it seems to improve responsiveness a bit while cargo
is running, but I have no hard numbers to prove it. In any case, a
serialization point less is always better when we're trying to be
responsive.
2020-01-23 09:26:08 +01:00
..
2020-01-13 11:27:06 -05:00
2020-01-16 17:57:50 +01:00
2020-01-16 17:56:14 +01:00
2020-01-10 22:41:52 +01:00
2020-01-22 13:02:21 +02:00