stdpain
stdpain
run starrocks_admit_test
how about using std::from_chars instead of this ? https://en.cppreference.com/w/cpp/utility/from_chars
It seems only GCC11 implements from_chars to float. we can try ryu_parse to parse string to float. https://github.com/ulfjack/ryu/blob/master/ryu/ryu_parse.h we had Introduced this lib
The current implementation seems to have too much duplicated code. Not very easy to maintain
1. suggest rename java-utils to java-native-utils 2. suggest split this PR to multi stage.
we should add java-utils-xxx.jar and jni-connector-xxx.jar to JNI class path ``` void JVMFunctionHelper::_init() { std::string home = getenv("STARROCKS_HOME"); std::vector class_paths = {home + "/lib/udf-extensions-jar-with-dependencies.jar", home + "/lib/starrocks-jdbc-bridge-jar-with-dependencies.jar"}; for (auto path...
I'll start by providing a benchmark for this case
It seems it have some problem when apply this patch. here was a reproduce case: https://github.com/stdpain/bitshuffle/tree/reproduce/reproduce
It looks like if you compile with -O0 you will get the correct result. Hope it can help you
It works when compile with ` -fno-strict-aliasing`