Switch new_and_build()
to spawn_batch()
after the BundleBuilder
pattern is added if possible
#29
Labels
enhancement
New feature or request
like the title says, if all goes well and we only use
.spawn_bundle()
and nothing else per tile entity Innew_and_build()
, we should have very good perf, but if and whenBundleBuilder
(bevyengine/bevy#2157 (comment)) would be added,if it plays well with
spawn_batch()
we should get even better perf because that would mean only one memory allocation for entities per layer if I understand correctly.The text was updated successfully, but these errors were encountered: