You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "yx91490 (Jira)" <ji...@apache.org> on 2022/08/17 03:30:00 UTC

[jira] [Created] (IMPALA-11504) Speed up Decimal16Value division by specializing DecimalUtil::GetScaleMultiplier()

yx91490 created IMPALA-11504:
--------------------------------

             Summary: Speed up Decimal16Value division by specializing DecimalUtil::GetScaleMultiplier<int256_t>()
                 Key: IMPALA-11504
                 URL: https://issues.apache.org/jira/browse/IMPALA-11504
             Project: IMPALA
          Issue Type: Improvement
            Reporter: yx91490
            Assignee: yx91490


There exists a call chain:
{code:java}
DecimalValue<int128_t>::Divide() -> 
DecimalUtil::MultiplyByScale<int256_t>() ->
DecimalUtil::GetScaleMultiplier(){code}
but decimal-util.h didn't specialize DecimalUtil::GetScaleMultiplier<int256_t>(), causing more performance loss.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)