エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Branch predictor: How many "if"s are too many? Including x86 and M1 benchmarks!
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Branch predictor: How many "if"s are too many? Including x86 and M1 benchmarks!
Branch predictor: How many "if"s are too many? Including x86 and M1 benchmarks!05/06/2021 Some ti... Branch predictor: How many "if"s are too many? Including x86 and M1 benchmarks!05/06/2021 Some time ago I was looking at a hot section in our code and I saw this: if (debug) { log("..."); } This got me thinking. This code is in a performance critical loop and it looks like a waste - we never run with the "debug" flag enabled[1]. Is it ok to have if clauses that will basically never be run? Surely,