[cctbxbb] flex.int.as_double() performance
Luc Bourhis
luc_j_bourhis at mac.com
Tue Oct 11 09:44:06 PDT 2016
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!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20161011/80e817c4/attachment.htm>
More information about the cctbxbb
mailing list