高度向量化的 c++17 编译时字符串加密。
A heavily vectorized c++17 compile time string encryption.
int main() {
std::puts(xorstr_("an extra long hello_world"));
}…Tested to be working on clang 5.0+, gcc 7.1+ and MSVC v141. If your CPU does not support AVX define JM_XORSTR_DISABLE_AVX_INTRINSICS to only use SSE.
Output of gcc (trunk) from the quick example
…暂无开放 Issues,或尚未同步最近议题。