G*****9 发帖数: 3225 | 1 I used C++ to create a *.SO file, in which I read double values from text
files (ifstream>>). However, the speed is incredibly slow. The same code, if
compiled as .out, is 40 times faster. Can anyone tell me why?
I am using AIX and g++. Thanks. | p*u 发帖数: 2454 | 2
if
what r compiler flags u gave while building .so and .out? also check ld on
ur system...
【在 G*****9 的大作中提到】 : I used C++ to create a *.SO file, in which I read double values from text : files (ifstream>>). However, the speed is incredibly slow. The same code, if : compiled as .out, is 40 times faster. Can anyone tell me why? : I am using AIX and g++. Thanks.
| d****i 发帖数: 4809 | 3 AIX下面应该有自己的C++编译器吧(XL?), 试试AIX的native compiler。
if
【在 G*****9 的大作中提到】 : I used C++ to create a *.SO file, in which I read double values from text : files (ifstream>>). However, the speed is incredibly slow. The same code, if : compiled as .out, is 40 times faster. Can anyone tell me why? : I am using AIX and g++. Thanks.
| B***i 发帖数: 724 | 4 why this question is urgent? | G*****9 发帖数: 3225 | 5 It blocks my project.
【在 B***i 的大作中提到】 : why this question is urgent?
|
|