SET(dataset, field) + [value]
more efficient would be to implement as
SET(dataset + value-row, field) [ especially if dataset only has a single field..]
That could either be within the implementation of appendset or as a tree transformation. It would simplify the code and avoid a clone of the set.
It may also allow further optimizations if it was done as a tree transform.