Thomas Gillen
Thomas Gillen
I found that it only works on Windows if you give it the full path to the binary, not just to the bin folder containing `racer.exe`. e.g. `C:\Users\username\.cargo\bin\racer.exe` works, but...
If we keep a count next to each array, we could maintain that and remove the entry when the count becomes 0, rather than have to scan through the array...
I believe this is caused by the changed filter updating its version threshold as it iterates through chunks instead of once per query. I have pushed some changes to master...
With regards to the safety of random access in the for-each trait/macro: * It is never safe to provide access to `&mut PreparedWorld`, as the query is already borrowing it....
Iterating a little on the macro design: ```rust #[system] fn update_positions( #[res] time: &Time, #[query] entities: (Write, Read), world: &mut PreparedWorld) { for (mut pos, vel) in entities.iter(world) { *pos...
I had a little play in the rust playground [here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=f6286e600cb31e56d1a83ad1db7a1bfe) a few days ago looking into whether I could work around the lifetime issues that were blocking #134, and while...
I have been working on this over the weekend (_very_ nearly done, just need to sort supporting systems with generic arguments), but for handling system state it looks a bit...
Just got generic systems working: ```rust #[system(for_each)] fn print_component(component: &T) { println!("{}", component); } fn build_schedule() -> Schedule { Schedule::builder() .add_system(print_component_system::()) .build() } ```
Oh, wow... So I was having a fiddle with this and I realised that there is no reason why I couldn't change `Query` itself to require `IntoView` rather than `for`,...
I'll try and find the time to take a proper look at this soon, but from the description it sounds like the world is not properly recording the locations of...