|
|
|
|
|
by adrianmonk
2186 days ago
|
|
One way to optimize performance is to change program text from one thing into something else. In this case, "function calls" refers to the text before the transformation is applied. It seems reasonable to me to describe an optimization by identifying where it can be applied. If someone wrote a blog post titled "optimizing multiplication by 2" and went on to describe changing "x * 2" into "x + x", there would be nothing unusual about that. It would no longer be multiplication, but we wouldn't necessarily expect it to be. I agree it can be interpreted another way in this case, though. So while I maintain it is not wrong, I admit it is ambiguous. Someone could have used the same title had they written about a one-line optimization to the Python interpreter. |
|