I'm using -d:release. It's a benchmark to calculate fibonacci of 24. It takes 0.05 second, 13 times slower than Ruby 2.6. If I change cast to type conversion, it takes 0.99 second. Below is the PR that contains the changes.
<https://github.com/gcao/gene-new/pull/3/files>