Open Dandandan opened 3 months ago
equal_rows_arr compares pairs of 2 arrays with indices for equality but shows up in profiles.
Currently this is done in the following way
take
eq
not_distinct
and
We could optimize this in some ways:
Vec::retain
No response
Unassign this due to a bit busy currently. @LeslieKid Maybe you will be interested on this.
Is your feature request related to a problem or challenge?
equal_rows_arr compares pairs of 2 arrays with indices for equality but shows up in profiles.
Currently this is done in the following way
take
the values for the indices for the first paireq
ornot_distinct
and
ing the resultsDescribe the solution you'd like
We could optimize this in some ways:
take
(i.e. copy the array) but compares arrays based on the indices.Vec::retain
) not matching rather than creating a boolean array for a filterDescribe alternatives you've considered
No response
Additional context
No response