refactor(stream): remove ptr_arg and useless comment
@@ -84,8 +84,7 @@ impl<Method: HashMethod + PolymorphicKeysHelper<Method>> Aggregator<Method> {
}
#[inline(always)]
- #[allow(clippy::ptr_arg)] // &[StateAddr] slower than &StateAddrs ~20%
- fn execute(params: &AggregatorParams, block: &DataBlock, places: &StateAddrs) -> Result<()> {
+ fn execute(params: &AggregatorParams, block: &DataBlock, places: &[StateAddr]) -> Result<()> {
let aggregate_functions = &params.aggregate_functions;
let offsets_aggregate_states = &params.offsets_aggregate_states;
let aggregate_arguments_columns = Self::aggregate_arguments(block, params)?;
