shish / rosettaboy

A gameboy emulator in several different languages
MIT License
469 stars 22 forks source link

[nim] disable panics for danger #137

Closed inv2004 closed 1 year ago

inv2004 commented 1 year ago

It is a bit strange, but in my tests with lto the panics::on slows down the speed/danger build:

panics:on: 2054fps else: 2140fps

shish commented 1 year ago

Accepting for the moment, but I do wonder if there's a more sensible approach than "have a separate build script for every permutation of build flags" 🤔

inv2004 commented 1 year ago

Sounds like, but it makes visible diff on pc, unfortunately cannot recheck on your hardware, but at least it is like expected: danger which is faster