On 11/06/2016 06:25 AM, Joaquin M López Muñoz wrote:
A couple of years ago I wrote two blog entries about high-performance data structures for polymorphic objects:
http://bannalia.blogspot.com/2014/05/fast-polymorphic-collections.html
http://bannalia.blogspot.com/2014/05/fast-polymorphic-collections-with.html
that spurred some interest in the community. Now I've had the time to turn these ideas into something resembling a full-fledged library:
http://rawgit.com/joaquintides/poly_collection/website/doc/html/index.html
and I'd be very grateful if people could give their opinion on usefulness, design, etc. so as to determine potential interest in an eventual official submission to Boost.
Thank you,
Joaquín M López Muñoz
Thanks for the update Joaquin.
I noticed you also mentioned this library in reponse to
another thread here:
http://lists.boost.org/Archives/boost/2016/10/231186.php
which made me wonder how it would perform in the benchmark
mentioned in that thread:
https://github.com/cppljevans/soa/blob/master/soa_compare.benchmark.cpp
But then, I looked at the documentation here:
http://rawgit.com/joaquintides/poly_collection/website/doc/html/poly_collect...
and it looked like there was a separate pointer for each
type. Hence, the storage looks like it would be simllar to:
template