Psilon

Results 165 comments of Psilon

You can use `Arc` to represent references. It's not ideal but it will work. Also `RwLock` is probably a better choice than a `mutex`

I don't see how drawing a figure from mat might mutate it. Could you elaborate?

I don't see any race here. `mix_channels` doesn't mutate `self` as well as `ellipse`. They share the same readonly data. What's your point?

> It mutates the Mat it is called on Why? I don't see how drawing method may mutate its owner. It's basically ``` for i in 0..width for j in...

Ah, yes, They are indeed mutating self. I didn't see methods are void. Sorry, too much work with scala, where ellips whould be returnead instead :) You're right, it's an...

Moving all `contrib` features behind `contrib` feature would be sufficient.

It just make no sense to me. Having 100+ features doesn't make crate easier to use but the opposite. Having minimal amount of switches that covers all cases is the...