Changes between Initial Version and Version 1 of Ticket #2023


Ignore:
Timestamp:
Jul 2, 2013, 11:04:16 AM (11 years ago)
Author:
tuan kuranes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2023

    • Property Summary Const arguments[PATCH] Const arguments
  • Ticket #2023 – Description

    initial v1  
    11
    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)
    33
    44- 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")
    55
    66- "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).