エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Are Function Calls Still Slow in Python? An Analysis of Recent Optimizations in CPython
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Are Function Calls Still Slow in Python? An Analysis of Recent Optimizations in CPython
I came across this viral post on X/Twitter where Pritam found that his Leetcode solution was slow... I came across this viral post on X/Twitter where Pritam found that his Leetcode solution was slower when he was using Python’s min built-in function and the performance improved when he implemented min inline in his Python code. It’s true that function calls can be costly, they are known to be even more costly in interpreted languages such as Python. And the usual recommendation has been to inline

