Dylan Ancel

Results 19 comments of Dylan Ancel

This should work but doesn't for some lifetime reason. ```rust // `IntoAbstract` would have to be implemented for the type `&'0 mut shipyard::ViewMut`, for some specific lifetime `'2` fn weird(mut...

This is a broad question and there are a lot of answers based on each specific case. `is_in_acid` for example could be handled using a spacial data-structure. Or using only...

🤔 I don't know why `storage.current` is 5 but I can walk you through the flow. `current` is used to assign a timestamp to tracking events, like insertions, modifications,... in...

`current` in `View/ViewMut` is a copy of the value of `counter` in `World/AllStorages` at the time of the system start. There is only a single global value, it's not a...

`after_all`/`before_all` change systems ordering but don't check if the system is present in the workload. `require_after`/`require_before` don't change systems ordering but assert that a system is present in the workload....

I've narrowed it down to: ```rust rayon::ThreadPoolBuilder::new().build().unwrap(); ``` It triggers [this assert](https://github.com/mjansson/rpmalloc/blob/13d0e5321eb11e1caf20001c4a9d3822cc5ce163/rpmalloc/rpmalloc.c#L778) sometimes.

For non parallel benchmarks removing the `parallel` feature would work. Maybe using a custom pool could solve the problem, I'm not sure.

Shipyard now uses the global `ThreadPool`, problem solved =)

You shouldn't be able to access them either. `View` shouldn't be able to modify anything. Rust Analyzer lists them as available but it shouldn't. I think it's confused by `Deref/DerefMut`....