エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Doug Hellmann: looking for a loop optimization example
記事へのコメント1件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Doug Hellmann: looking for a loop optimization example
Thursday, August 20, 2009 looking for a loop optimization example I'm working on a PyMOTW post ab... Thursday, August 20, 2009 looking for a loop optimization example I'm working on a PyMOTW post about the dis module. As one of the examples, I'd like to show how to use dis to reduce the number of opcodes processed in a loop as an optimization technique. I'm looking for some "naive" code that looks OK, but doesn't perform especially well on large datasets. So far I have a class that reads /usr/sha