Richard,
No comment except "Great work" figuring this out!
Nick
Nicholas K. Sauter, Ph. D.
Senior Staff Scientist, Molecular Biophysics & Integrated Bioimaging
Division
Lawrence Berkeley National Laboratory
1 Cyclotron Rd., Bldg. 33R0345
Berkeley, CA 94720
(510) 486-5713
On Tue, Oct 11, 2016 at 9:44 AM, Luc Bourhis
Hi Richard,
On 11 Oct 2016, at 15:11, [email protected] wrote:
shared_plain<double> result(a.begin(), a.end());
eventually, that results in calling std::uninitialized_copy. This has a significant overhead compared to std::copy which could be used here for simple types such as integers and doubles, probably resulting in another big boost. This could be done with hairy template specialisations I guess but not sure it’s worth the sweat!!
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb