Hai Nguyen schrieb am 26.02.2015 um 04:39:
> hi all, i have been using Cython for wrapping a C++ lib (for data analysis
> of bimolecular MD simulation).
>
https://github.com/pytraj/pytraj (mostly written in Cython)
>
> I think I am in love with Cython (still prefer Cython over Julia). The only
> problem is the compiling/linking time is too slow (about 4 times slower
> than compiling the original C++ lib). It takes about 15 minutes to compile.
>
> So my question is: is there any trick/flag to make this faster?
For testing, you can usually get away by setting CFLAGS="-O0 -ggdb" or so.
I build much more often for testing stuff than for actually using (or
benchmarking) it, and disabling all C/C++ compiler optimisations can reduce
the turnover times quite dramatically.
Stefan