justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Also, is there any reason not to try and 'constexpr' as many function as you can? As I understand, if the 'constexpr' function cannot be evaluated at compile time, it will just act as a regular function? So best case is you get compile time evaluation wins, worst case is you have a regular acting function.
Asked by jack (146.70.134.x) on September 22 2022, 2:34pm
Reply on September 22 2022, 3:41pm:
    Optimizing compilers try to do that anyway, afaik? But anyway, for most uses I don't see it having a big effect.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2022 Justin Frankel. | RSS