Just the same optimization done for the other pointer types, strings and vectors. This also applies to trait objects.