chore(perf
): remove unneeded to_vec conversion
#6990
Merged
perf
): remove unneeded to_vec conversion
#6990