
Have you ever spent weeks optimizing an intensive algorithm, finally parallelized it, and watched in frustration as it actually ran slower than the single-threaded version? I certainly have. The compiler did not warn you. The mathematical logic was completely...