Fusing the evaluation of multiple expressions
@ggael
Submitted by Gael GuennebaudAssigned to Nobody
Link to original bugzilla bug (#984)
Version: 3.4 (development)
Description
The following forum entry make me though about the possibility to evaluate multiple expressions at once. By overloading DenseBase::operator,(DenseBase<Other>&), a possible API could be:
A,B = expression1, expression2;
If A and B appears to be compatible (same size, same alignement, etc.), then there evaluation could be merged in a single loop reducing cache misses if expression1 and expression2 access to same entries.