Timeline for Use constructor or setter method?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2012 at 7:52 | comment | added | user | Any half-way competent compiler and JITter should inline the setText() etc calls, so the performance difference between a function call to do an assignment, and having that assignment in place of the function call, should be negligible at most, and more likely than not zero. | |
| Jun 29, 2012 at 6:12 | history | answered | Random42 | CC BY-SA 3.0 |