Naive performance comparison of a few programming languages (JavaScript, Kotlin, Rust, Swift, Nim, Python, Go, Haskell, D, C++, Java, C#, Object Pascal, Ada, Lua, Ruby)
I would make a PR since it's a super simple addition but I wanted to see if it would be worthwhile first. Nim supports disabling runtime checks by using -d:danger. This increases its performance substantially. There are already several Nim versions in the "tuned" category so adding another one may not be desirable, but it should place Nim even closer to the most optimized C++ version. From the looks of the implementation, it should be as simple as just tacking on "-d:danger" to the "fast" implementation of Nim.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by OpenSourceAnarchist and has received 2 comments.