bevy/crates/bevy_ecs/src
re0312 739007f148
Opportunistically use dense iter for archetypal iteration in Par_iter (#14673)
# Objective

- follow of #14049 ,we could use it on our Parallel Iterator,this pr
also unified the used function in both regular iter and parallel
iterations.


## Performance 


![image](https://github.com/user-attachments/assets/cba700bc-169c-4b58-b504-823bdca8ec05)

no performance regression for regular itertaion

3.5X faster in hybrid parallel iteraion,this number is far greater than
the benefits obtained in regular iteration(~1.81) because mutable
iterations on continuous memory can effectively reduce the cost of
mataining core cache coherence
2024-09-03 23:41:10 +00:00
..
entity Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
event Commands::send_event (#14933) 2024-08-27 23:43:40 +00:00
identifier Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
observer Fix observer unregistering unsetting archetype flags (#14963) 2024-08-30 00:43:56 +00:00
query Opportunistically use dense iter for archetypal iteration in Par_iter (#14673) 2024-09-03 23:41:10 +00:00
reflect Use map_unchanged in reflection instead of creating a Mut manually. (#14692) 2024-08-15 14:26:57 +00:00
schedule Add condition_changed and condition_became_true to common_conditions (#14917) 2024-08-26 18:32:44 +00:00
storage Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
system Use #[doc(fake_variadic)] for SystemParamBuilder tuple impls. (#14962) 2024-09-02 16:51:23 +00:00
world Updated FromWorld Documentation to mention Default (#14954) 2024-08-28 11:37:31 +00:00
archetype.rs Fix observer unregistering unsetting archetype flags (#14963) 2024-08-30 00:43:56 +00:00
batching.rs Parallel event reader (#12554) 2024-04-22 16:37:42 +00:00
bundle.rs Required Components (#14791) 2024-08-27 20:22:23 +00:00
change_detection.rs Add filter_map_unchanged to Mut<T> (#14837) 2024-08-22 17:51:21 +00:00
component.rs Required Components (#14791) 2024-08-27 20:22:23 +00:00
intern.rs Moves intern and label modules into bevy_ecs (#12772) 2024-04-08 15:34:11 +00:00
label.rs Add mappings to EntityMapper (#13727) 2024-06-08 12:52:23 +00:00
lib.rs Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
removal_detection.rs Created an EventMutator for when you want to mutate an event before reading (#13818) 2024-07-08 14:53:06 +00:00
traversal.rs Minimal Bubbling Observers (#13991) 2024-07-15 13:39:41 +00:00