http://bugs.winehq.org/show_bug.cgi?id=36692
--- Comment #4 from milasudril@gmail.com ---
At my opinion its very difficult to optimize the speed of these specific functions, but as Bruno already wrote, some (minimal) test code would probably be useful - especially to measure how "bad" the performance really is compared to Windows.
I guessed that they could be tricky. On Windows, I measure 200 kframes/s when using empty model code, and that is quite slow too. That is when the _virtual_ Sim2d::ModelState::process returns without processing its data block. For the Gray-Scott model I get 2kframes/s in Windows on 256x256 pixels.
I will push the project to github when I have completed the remaining parts of the code:
* Model parameter dialog * Initial condition loading * State matrix export * System state load * System state save
The tool can be useful as benchmark. For example, it is possible to load different models, and set the size of problem domain. The only blocker for building a native Linux port is the gui wrapper, and this guy is tricky since different notions of the Window concept. Gui is not useful when running benchmarks though.