You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/24 03:21:16 UTC

[GitHub] [doris] yiguolei commented on pull request #12936: [enhancement](string column)copy string continuous

yiguolei commented on PR #12936:
URL: https://github.com/apache/doris/pull/12936#issuecomment-1256844469

   In lastes clang-14, our memcpy_overflow will be replaced by memcpy...
   
   void my_memcpy(char * __restrict dst, const char * __restrict src, ssize_t n)
   {
       while (n > 0)
       {
           _mm_storeu_si128(reinterpret_cast<__m128i *>(dst),
               _mm_loadu_si128(reinterpret_cast<const __m128i *>(src)));
           dst += 16;
           src += 16;
           n -= 16;
       }
   }
   
   You can find detail in this discussion: https://github.com/llvm/llvm-project/issues/56467


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org