Timeline for Does wrapping functions/'things' in classes reduce efficiency?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2021 at 13:13 | comment | added | Christophe | Actually, it's not only development time: long chains of if-else required to simulate polymorphic code in non-polymorphic functions, adds extra overhead (and the condition evaluations are sequential, so that in worse case, it might be much less performant than going through a virtual table to the right code directly) ;-) | |
| Mar 7, 2021 at 11:16 | history | answered | gnasher729 | CC BY-SA 4.0 |