Timeline for Why didn't the C++ Standard adopt expression templates?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 15, 2018 at 20:19 | history | protected | gnat | ||
Apr 15, 2018 at 18:45 | history | tweeted | twitter.com/StackSoftEng/status/985589918171848704 | ||
Apr 15, 2018 at 16:10 | answer | added | Daveed V. | timeline score: 4 | |
Dec 22, 2015 at 22:59 | comment | added | einpoklum | I realize this question was asked a while ago, but please elaborate some regarding what expression templates are and/or link to relevant material. | |
Jan 25, 2012 at 21:13 | history | edited | DeadMG | CC BY-SA 3.0 |
deleted 67 characters in body
|
Jan 25, 2012 at 20:22 | vote | accept | DeadMG | ||
Jan 25, 2012 at 20:21 | history | edited | Matthieu | CC BY-SA 3.0 |
link to description
|
Jan 25, 2012 at 20:16 | history | migrated | from stackoverflow.com (revisions) | ||
Jan 25, 2012 at 20:14 | answer | added | Dietmar Kühl | timeline score: 10 | |
Jan 25, 2012 at 20:11 | comment | added | DeadMG |
@jalf: If you were to apply it to operator+ , you could achieve O(n) and zero redundant allocations for repeated allocations, something which is still faster than rvalue references. In addition, you could optimize for example COW implementations by copying on write, not just "on index into non-const". There are other applications too where both performance and semantics can be improved with expression templates.
|
|
Jan 25, 2012 at 20:09 | comment | added | jalf | What exactly would you do with expression templates to speed up strings? | |
Jan 25, 2012 at 20:05 | comment | added | DeadMG | @ChrisLively: If I were to submit a proposal suggesting such a change, then it would absolutely be a problem that I didn't know why it wasn't done the first time around, and it is absolutely programming relevant and the answer is very specific. | |
Jan 25, 2012 at 20:04 | answer | added | sbi | timeline score: 17 | |
Jan 25, 2012 at 20:01 | answer | added | fredoverflow | timeline score: 0 | |
Jan 25, 2012 at 19:53 | history | asked | DeadMG | CC BY-SA 3.0 |