提交 89341bc3 编写于 作者: H Haojun Liao

enh(query): support simd in min/max query.

上级 0ed2c923
...@@ -432,7 +432,7 @@ static int32_t handleInt16Col(SColumnInfoData* pCol, int32_t start, int32_t numO ...@@ -432,7 +432,7 @@ static int32_t handleInt16Col(SColumnInfoData* pCol, int32_t start, int32_t numO
int16_t* val = (int16_t*)&pBuf->v; int16_t* val = (int16_t*)&pBuf->v;
int32_t numOfElems = 0; int32_t numOfElems = 0;
if (pCol->hasNull || numOfRows <= 8 || pCtx->subsidiaries.num > 0) { if (pCol->hasNull || numOfRows <= 16 || pCtx->subsidiaries.num > 0) {
int32_t i = findFirstVal(pCol, start, numOfRows); int32_t i = findFirstVal(pCol, start, numOfRows);
if ((i < (start + numOfRows)) && (!pBuf->assign)) { if ((i < (start + numOfRows)) && (!pBuf->assign)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册