Re: std::vector code cleanup fixes optimizations

2020-08-06 Thread Jonathan Wakely via Gcc-patches
On 06/08/20 21:30 +0200, François Dumont via Libstdc++ wrote: I wonder if following the application of this patch we shouldn't bump versioned namespace through _GLIBCXX_BEGIN_NAMESPACE_VERSION ? Definitely not. Unless it is still considered as experimental. Yes, it is. And it doesn't

Re: std::vector code cleanup fixes optimizations

2020-08-06 Thread François Dumont via Gcc-patches
I wonder if following the application of this patch we shouldn't bump versioned namespace through _GLIBCXX_BEGIN_NAMESPACE_VERSION ? Unless it is still considered as experimental. François On 31/07/20 11:03 pm, François Dumont wrote: On 17/07/20 12:36 pm, Jonathan Wakely wrote: On 16/12/19

Re: std::vector code cleanup fixes optimizations

2020-07-31 Thread Jonathan Wakely via Gcc-patches
On 31/07/20 23:03 +0200, François Dumont via Libstdc++ wrote: On 17/07/20 12:36 pm, Jonathan Wakely wrote: On 16/12/19 08:18 +0100, François Dumont wrote: diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc

Re: std::vector code cleanup fixes optimizations

2020-07-31 Thread François Dumont via Gcc-patches
On 17/07/20 12:36 pm, Jonathan Wakely wrote: On 16/12/19 08:18 +0100, François Dumont wrote: A small refresh on this patch now tested also for versioned namespace which require printers.py to be updated. Note that this simplification works also for normal mode so I can apply it

Re: std::vector code cleanup fixes optimizations

2020-07-17 Thread Jonathan Wakely via Gcc-patches
On 16/12/19 08:18 +0100, François Dumont wrote: A small refresh on this patch now tested also for versioned namespace which require printers.py to be updated. Note that this simplification works also for normal mode so I can apply it independently from the stl_bvector.h part.     *

Re: std::vector code cleanup fixes optimizations

2019-12-15 Thread François Dumont
A small refresh on this patch now tested also for versioned namespace which require printers.py to be updated. Note that this simplification works also for normal mode so I can apply it independently from the stl_bvector.h part.     * include/bits/stl_bvector.h    

Re: std::vector code cleanup fixes optimizations

2019-06-24 Thread François Dumont
Hi     Any feedback regarding this patch ? Thanks On 5/14/19 7:46 AM, François Dumont wrote: Hi     This is the patch on vector to: - Optimize sizeof in Versioned namespace mode. We could go one step further by removing _M_p from _M_finish and just transform it into an offset but it is a

std::vector code cleanup fixes optimizations

2019-05-13 Thread François Dumont
Hi     This is the patch on vector to: - Optimize sizeof in Versioned namespace mode. We could go one step further by removing _M_p from _M_finish and just transform it into an offset but it is a little bit more impacting for the code. - Implement the swap optimization already done on main