optimize append (#2164)

1 file changed