Skip to content

improve performance for round(col_floating, frac) #9860

@guo-shaoge

Description

@guo-shaoge

Enhancement

For now, TiDBFloatingRound use std::pow to compute base, which may hurt performance. Should use pre-computed array, like TiDBDecimalRound and TiDBIntegerRound, check

using Pow = ConstPowOf10<UnsignedOutput, digits>;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions