[cctbxbb] flex.int.as_double() performance

Nicholas Sauter nksauter at lbl.gov
Tue Oct 11 11:55:26 PDT 2016


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 <luc_j_bourhis at mac.com> wrote:

> Hi Richard,
>
> On 11 Oct 2016, at 15:11, richard.gildea at diamond.ac.uk 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
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20161011/15da9100/attachment.htm>


More information about the cctbxbb mailing list