https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923

Petar Ivanov <dartdart26 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Petar Ivanov <dartdart26 at gmail dot com> ---
(In reply to CVS Commits from comment #8)
> The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:
> 
> https://gcc.gnu.org/g:0808b0df9c4d31f4c362b9c85fb538b6aafcb517
> 
> commit r12-2959-g0808b0df9c4d31f4c362b9c85fb538b6aafcb517
> Author: Jonathan Wakely <jwak...@redhat.com>
> Date:   Tue Aug 17 11:30:56 2021 +0100
> 
>     libstdc++: Optimize std::function move constructor [PR101923]
>     

Thank you!

On ARM64, it is now identical to copy:

-----------------------------------------------------
Benchmark           Time             CPU   Iterations
-----------------------------------------------------
copy            0.948 ns        0.948 ns    558822565
move            0.952 ns        0.952 ns    729210032

Reply via email to