Cleanup: Remove "done" variable from node runtime
The runtime storage is meant for more persistent things. These local states for an algorithm are much better handled by an array now.
This commit is contained in:
@@ -469,7 +469,9 @@ Vector<GVArray> evaluate_fields(ResourceScope &scope,
|
||||
}
|
||||
/* Still have to copy over the data in the destination provided by the caller. */
|
||||
if (dst_varray.is_span()) {
|
||||
array_utils::copy(computed_varray, mask, dst_varray.get_internal_span());
|
||||
array_utils::copy(computed_varray,
|
||||
mask,
|
||||
dst_varray.get_internal_span().take_front(mask.min_array_size()));
|
||||
}
|
||||
else {
|
||||
/* Slower materialize into a different structure. */
|
||||
|
||||
Reference in New Issue
Block a user