fall case to the else statement didn't properly check that the archetypes aren't the same, making insertions quite slow. Now instead the assertion is moved up and checks it first, in the case that it is not the same archetypes then just set component data directly and return early.
fall case to the
else
statement didn't properly check that the archetypes aren't the same, making insertions quite slow. Now instead the assertion is moved up and checks it first, in the case that it is not the same archetypes then just set component data directly and return early.