Did you know that this...
void my_copy(T &Out, const T &In)
{
Out = In;
}
void my_call(dense &Out, const dense &In)
{
map(my_copy)(Out, In);
}
...runs faster with extra cores than this...
void my_call(dense &Out, const dense &In)
{
Out = In;
}
...which doesn't speed up at all, even though these do the same thing.
- paul


