Optimized result handling of multiassignment