4 ms·
Unfortunately, repa and vector are sometimes a few times slower than counterparts in C or C++ for the lack of SIMD intrinsics. Thankfully, things are moving for
by danieldk 14y ago
Unfortunately, repa and vector are sometimes a few times slower than counterparts in C or C++ for the lack of SIMD intrinsics. Thankfully, things are moving forward fast on that front:
http://ghc-simd.blogspot.com/ http://ghc-simd.blogspot.com/
- neutronicus 14y agorepa also has some unfortunate lacunae, either in the API or in the documentation. For instance, one thing I tried to do but couldn't - apply `scanl` to an array with a piece of intermediate state that is threaded through the computation, save the piece of state at the end, and then apply `scanr` to the same array, using the piece of state from the application of `scanl`.