2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (__fill, __fill_n): New helpers for fill and fill_n, respectively: when copying is cheap, use a temporary to avoid a memory read in each iteration. 2004-06-25 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/fill/1.cc: New. * testsuite/25_algorithms/fill/2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83645 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libstdc++-v3/ChangeLog 12 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/stl_algobase.h 79 additions, 26 deletionslibstdc++-v3/include/bits/stl_algobase.h
- libstdc++-v3/testsuite/25_algorithms/fill/1.cc 69 additions, 0 deletionslibstdc++-v3/testsuite/25_algorithms/fill/1.cc
- libstdc++-v3/testsuite/25_algorithms/fill/2.cc 69 additions, 0 deletionslibstdc++-v3/testsuite/25_algorithms/fill/2.cc
Loading
Please register or sign in to comment