lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

improve copy_if performance #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently copy_if does a full scan into a temporary array of size O(N).  
Specializing an implementation of copy_if can reduce the temporary array size 
to O(P) and substantially reduce the total computational cost.

Original issue reported on code.google.com by wnbell on 30 Aug 2010 at 10:09

GoogleCodeExporter commented 8 years ago
This issue was closed by revision c23dd98e76.

Original comment by wnbell on 1 Sep 2010 at 2:39