int min=0x7FFFFFFE;
int max=0x80000003;
1) min > 0?
2) max > 0?
3) max > min?
4) max - min =?
5) max - min > 0?
2023年1月14日 星期六
[C] subtraction and comparison
2023年1月7日 星期六
GCC optimizations
? conditional (ternary) operators 和 if-else statements 的效能比較
參考
https://lirobo.blogspot.com/2009/07/gcc-inline-assembly.html
https://lirobo.blogspot.com/2013/12/inline.html
-O0 或預設
-O1, -O
-O2
-O3
-Os
-Ofast
-f
-Q --help=optimizers
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
http://gcc.gnu.org/onlinedocs/gcc/Target-Builtins.html
http://gcc.gnu.org/onlinedocs/gcc/Pragmas.html
http://gcc.gnu.org/onlinedocs/gcc/Inline.html
訂閱:
意見 (Atom)
SIP header Via
所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...