mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
dbms: added comment [#METR-17233].
This commit is contained in:
parent
2af61829fe
commit
8aa96f3f79
@ -262,6 +262,7 @@ struct BitShiftRightImpl
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
template<typename A, typename B>
|
||||
struct LeastImpl
|
||||
{
|
||||
@ -270,6 +271,7 @@ struct LeastImpl
|
||||
template <typename Result = ResultType>
|
||||
static inline Result apply(A a, B b)
|
||||
{
|
||||
/** gcc 4.9.2 успешно векторизует цикл из этой функции. */
|
||||
return static_cast<Result>(a) < static_cast<Result>(b) ? static_cast<Result>(a) : static_cast<Result>(b);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user