On 2017-05-12 10:28, Marco van de Voort wrote:
Ah ok, so a tight loop benchmark.

And lots of colour value loop-ups. Nothing wrong with that - how else are you supposed to implement a software raycaster.

It must be noted, my intention was not to implement a "benchmark". I had a Java implementation, but preferred to continue my work using Object Pascal. So I ported the code, and then noticed the terrible performance - so canned that idea after numerous failed attempts to improve what FPC generated. Obviously, normal desktop apps work fine with FPC, and if you do graphics work, make sure you offload as much as possible to a GPU.

Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to