|
Boost : |
Subject: Re: [boost] Heads up - string_ref landing
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-11-16 10:24:19
On 16 November 2012 07:04, Mathias Gaunard <mathias.gaunard_at_[hidden]>wrote:
> On 16/11/12 01:21, Gennadiy Rozental wrote:
>
> My experience is that we are better of with 2 pointers
>>
>
> Supposedly pointer + size allows better codegen on some compilers. The
> fact that it was designed like so by people from LLVM which have a
> ridiculously important focus on performance of their data structures (to
> the point of mostly rewriting the whole STL with slightly different
> algorithms better tuned to their use cases) is to be taken into
> consideration.
>
>
Without concrete examples, I have no idea how to take that into
consideration.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk