ColinGilbert / noobwerkz-engine

My happy playground of programmer fun.
Apache License 2.0
20 stars 3 forks source link

Add fast polymorphic collections to the entity system #24

Open ColinGilbert opened 8 years ago

ColinGilbert commented 8 years ago

Fast polymorphic collections with devirtualization (uses for_each to great effect):

http://bannalia.blogspot.ca/2014/05/fast-polymorphic-collections.html http://bannalia.blogspot.ca/2014/05/fast-polymorphic-collections-with.html

Both are Boost-licensed and then we can give them the test results across our platforms. :) Code: https://github.com/ColinGilbert/fast-polymorphic-collections-with-devirt/blob/master/fast-polymorphic-with-devirt-test.cpp https://github.com/ColinGilbert/fast-polymorphic-collections-with-devirt/blob/master/fast-polymorphic-test.cpp