persistent views are now more reliable (fix #160)
This commit is contained in:
@@ -260,8 +260,6 @@ TEST(Benchmark, IterateTwoComponentsPersistent1M) {
|
||||
timer.elapsed();
|
||||
};
|
||||
|
||||
registry.persistent_view<position, velocity>().initialize();
|
||||
|
||||
test([](auto, const auto &...) {});
|
||||
test([](auto, auto &... comp) {
|
||||
((comp.x = {}), ...);
|
||||
@@ -459,8 +457,6 @@ TEST(Benchmark, IterateFiveComponentsPersistent1M) {
|
||||
timer.elapsed();
|
||||
};
|
||||
|
||||
registry.persistent_view<position, velocity, comp<1>, comp<2>, comp<3>>().initialize();
|
||||
|
||||
test([](auto, const auto &...) {});
|
||||
test([](auto, auto &... comp) {
|
||||
((comp.x = {}), ...);
|
||||
@@ -714,8 +710,6 @@ TEST(Benchmark, IterateTenComponentsPersistent1M) {
|
||||
timer.elapsed();
|
||||
};
|
||||
|
||||
registry.persistent_view<position, velocity, comp<1>, comp<2>, comp<3>, comp<4>, comp<5>, comp<6>, comp<7>, comp<8>>().initialize();
|
||||
|
||||
test([](auto, const auto &...) {});
|
||||
test([](auto, auto &... comp) {
|
||||
((comp.x = {}), ...);
|
||||
|
||||
Reference in New Issue
Block a user