Re:Beating the compiler
by cge on Sunday March 22, 2015 @08:06PM
(#9248786)
For that matter, his numpy code, which wasn't described until the comments, was terrible. Unlike all the other versions, it included a complete reallocation, conversion and copying step, which accounted for almost the entire processing time.
People in the comments who tried a reasonable numpy version found it to be around the same speed as the unoptimized C version.
People in the comments who tried a reasonable numpy version found it to be around the same speed as the unoptimized C version.