GothicKit / ZenKit

A re-implementation of file formats used by the early 2000's ZenGin
http://zk.gothickit.dev/
MIT License
44 stars 9 forks source link

Leaf polygons as sorted vector #73

Closed Try closed 12 months ago

Try commented 12 months ago

This PR improve performance on MinGW builds.

lmichaelis commented 12 months ago

Thanks for the PR @Try! I still can reproduce any performance improvement but I don't see a degradation either so either way I'm happy to merge. Here are my benchmark results:

:: CLANG

OLD (RELEASE) = 0.206s
NEW (RELEASE) = 0.207s

OLD (DEBUG) = 1.510s
NEW (DEBUG) = 1.759s

:: GCC

OLD (RELEASE) = 0.207s
NEW (RELEASE) = 0.210s

OLD (DEBUG) = 1.503s
NEW (DEBUG) = 1.583s