Boost logo

Boost :

Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2017-10-05 15:52:51


Den 04-10-2017 kl. 01:30 skrev Ion Gaztañaga via Boost:

> --------------------------
> batch_deque
> --------------------------
> 1) I like that deque_[const_]iterator is lightweight, I don’t know if
> iteration/access it’s more efficient than more traditional approaches.
> boost::container::deque iterators are really fat and should be improved
> to something similar to batch_deque iterator.

I guess the simplest would be to replace the end iterator with a
function that computes it when needed (I think that can be done easily
since you now the segment size at compile time).

kind regards

Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk