|
Boost Users : |
Subject: Re: [Boost-users] [poly_collection] Boost.PolyCollection release version ready
From: Chris Glover (c.d.glover_at_[hidden])
Date: 2017-06-27 22:31:25
>
> * The implementation has been refactored to avoid internal virtual calls
> at places where
> the type of the segment involved is known at compile time. Also, segment
> lookup (the
> process to get to the segment for U from typeid(U)) has been greatly sped
> up by means
> of a std::type_info* cache. These two improvements result in a combined
> reduction of
> around 25-30% in insertion times. There's an API breaking change though:
> no longer
> is std::type_index used and const std::type_info &'s have to be directly
> provided
> instead --this is likely to go unnoticed by those of you already using the
> lib.
>
Was any more consideration given to using Boost.TypeIndex so that the
library will work on compilers with rtti disabled? Or was that dismissed? I
can't find where that thought ended up amongst all of the discussion.
-- chris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net