aphadeon / OpenGame.exe

A custom Ruby-powered game engine that supports RPG Maker games.
24 stars 11 forks source link

Soft Fiber Performance #33

Open aphadeon opened 8 years ago

aphadeon commented 8 years ago

Even this early in the process, with a few simple test cases I have discovered significant performance issues due to the soft fiber implementation we are currently using.

The reason for the soft fiber implementation is because IronRuby, for whatever reason, does not currently support Fiber natively.

However, there is hope for this issue. I raised an issue on the IronRuby repository which has been met with a promising response (see: https://github.com/IronLanguages/ironruby/issues/9).

If Fiber gains native support in IronRuby, our dependency should be updated right away. If not, we need to look for other enhancements, as the RGSS3 interpreter is fairly Fiber-heavy and causes significant slowdown using the current implementation.