alamb opened a new issue, #20933:
URL: https://github.com/apache/datafusion/issues/20933
I bet you can make this even faster by making it mutate lhs rather than make
a new one
```rust
pub(crate) fn scalar_add(lhs: &mut ScalarValue, rhs: &ScalarValue) ->
Result<()> {
```
_Originally posted by @alamb in
https://github.com/apache/datafusion/pull/20768#discussion_r2924417922_
The other idea is to inline the implementation of precision_add to
ScalarValue::add for numeric types, in order to avoid allocations when adding
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]