Optimized GR32_Polygons.pas

As previously mentioned on the Graphics32 newsgroup I’ve made initial optimizations to the GR32_Polygons unit.
This version fixes several inefficiencies and a major performance issue mostly noticeable with the standard memory manager. Initial benchmarking shows a 2.2-fold performance increase.
If you want to give it a try, you can download the version here:

GR32_Polygons.pas

I’m still working on some other improvements not included in this file.
Please let me know, how it performed for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.