6 ms·
Does anyone know why Java would be faster here? Is there any kind of optimization happening under the hood? (Automatic memoization?)
by tasoeur 12y ago
Does anyone know why Java would be faster here? Is there any kind of optimization happening under the hood? (Automatic memoization?)
- deleted 12y ago[deleted]
- rjoshi 12y agoSee the updated blog again. It seems issue is with Clang/LLVM on MacOSX. I reran the test on Linux with Gnu g++ and it outperforms Java.