Changes between Initial Version and Version 1 of Ticket #2023
- Timestamp:
- Jul 2, 2013, 11:04:16 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2023
- Property Summary Const arguments → [PATCH] Const arguments
-
Ticket #2023 – Description
initial v1 1 1 2 - Passing larger than 4-byte values by reference to avoid copy-on-move and temporary objects. 2 - Passing larger than 4-byte values by reference to avoid copy-on-move and temporary objects. ("PVS studio" can pinpoint/list all those automatically) 3 3 4 4 - const size_t* const is but a way to point for aliasing and therefore "restrict" optimisations and use. (themself leading to potential openmp "optimisations spot") 5 5 6 6 - "int getStuff(const size_t arg)" is more developper safeguard and code documentation than real perf. (preventing people using args as local vars and easing code reading, by pointing possible optimisation when code evolves) 7 8 - inlines are added and tested using profiling results (with very sleepy profiler).