|
Boost : |
Subject: Re: [boost] Interest in a container which can hold multiple data types?
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2015-05-06 08:58:18
Boris Rasin <boris <at> pointx.org> writes:
>
> On 5/5/2015 7:49 PM, Joaquin M Lopez Munoz wrote:
> > TONGARI J <tongari95 <at> gmail.com> writes:
> >
> >> If the data sequence shows some affinity, I guess an ordered
> >> tuple_vector-based sequence can provide some performance benefit in
> >> traversal (with some crafted for_each method).
> >>
> >> That is, a sequence of [AAABBB] may be traversed faster than [ABABAB] for
> >> such a container, and I believe in the later case such that the types are
> >> uniformly distributed, vector<variant> will perform better.
> > I wrote something on this some time ago, maybe worth having a look at:
> >
> > http://bannalia.blogspot.com/2014/05/fast-polymorphic-collections.html
> > http://bannalia.blogspot.com/2014/0%99%85%cd%d0%b5%c1%bd%b1%e5%b5%bd%c9%c1%a1%a5%8c%b5%8d%bd%b1%b1%95%8d%d1%a5%bd%b9%cc%b5%dd%a5%d1%a0%b9%a1%d1%b5%b0(%f8%80%f8(%f8%80(%f8%81%%b9%d1%95%c9%95%cd%d1%a5%b9%9c%81%c9%95%85%90%b0%81%d1%a1%85%b9%ad%cc%81%99%bd%c8%81%d1%a1%94%81%b1%a5%b9%ad%cc%b8%81%b1%d1%a1%bd%d5%9d%a0%81%a5%b8%81%d1%a1%a5%cc%81%8d%85%cd%94%81%dd%94%81%85%c9%94%80(%f8%81%d1%85%b1%ad%a5%b9%9c%81%85%89%bd%d5%d0%81%d9%95%8d%d1%bd%c8%f1%d9%85%c9%a5%85¸()=¬°Õ¹ÉÍѽ½¸$ÙÝÉ¥ÑѸ͵
±°Áɽɵ
¹ÑÍн)ÙѽÈñÙ
É¥
¹ÐñQ̸¸¸øø
¹Í½ÉÑÙѽÈñÙ
É¥
¹ÐñQ̸¸¸øøÙ̸)½±±Ñ¥½¸±
ÍÌ¡Ñ}½±±Ñ¥½¸ñQ̸¸¸øÍѽɥ¹Ù
±Õ̽ѡÍ
µ)ÑåÁ½¹Ñ¥Õ½Õͱä
¹Áɽ٥¥¹ÍÁ¥
±¥é½É}
µµÕ¸è()¡ÑÑÁÌè¼½ÝÝܹɽÁ½à¹½´½Ì½ÅäåÅÁåÅ¥ÑÍ佡Ñ}½±±Ñ¥½¸¹ÁÀý°ôÀ()Q¥µ¥¹½È½É}
½¸Å¬´ÄÁ4±µ¹ÑÌ¡5MYÄȸÀ¤è()¡Ñ}½±±Ñ¥½¸íÙѽÉ}Ù
É¥
¹ÐíͽÉÑ}ÙѽÉ}Ù
É¥
¹Ðì)½É}
è(ÄÀÀÀìÀ¸ÀÈÈÔÐÔÌìÀ¸ÀàÈÈÈÌÈìÀ¸ÀàÐÀÀÐàì(ÄÀÀÀÀìÀ¸ÀÈÈäàÈÜìÀ¸ÀàÈàÈÄÐìÀ¸ÀàÈÄÌÜàì(ÄÀÀÀÀÀìÀ¸ÀÈÈäÐÐàìÀ¸ÀàÄÌÄÔìÀ¸ÀàÌäàÀÈì(ÄÀÀÀÀÀÀÀìÀ¸ÀÈÔÀÄäÌìÀ¸ÀäÀØÐäØìÀ¸ÀàÜäÈäØì()M¼Vç7W'&6ævÇÂWEö6öÆÆV7FöâFöW2×V6&WGFW"2f÷%öV6¦öâfV7F÷#Çf&çCâæVVG2Fò6V6²GRöâV6FW&Föââ6÷'Fæp§FRfV7F÷"6òFBfÇVW2öbFR6ÖRGRÆRFövWFW"FöW2æ÷@¦fRç×7BöâW&f÷&Öæ6Rà ¤¦ö\:ÖâÒÌ;7W¢×\;÷ ¥FVÆVl;6æ6
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk