Re:Rubyist makes some Python code 5x Faster
by digger250 on Saturday October 07, 2017 @11:35AM
(#15424151)
Huh? I thought the title was a perfect description of the article. A dude who mostly uses ruby optimizes a piece of Python code. That's it.
Re:Rubyist makes some Python code 5x Faster
by sidlls on Saturday October 07, 2017 @11:46AM
(#15424200)
The "rubyist" is completely irrelevant to the article. The optimizations might apply as well in any number of languages, because they all are related to minimizing heap allocations and keeping the execution pipeline lean (e.g. by minimizing function calls).
It's fairly easy to think from the title that the article is going to be something about how clever the rubyist is compared to Python programmers or how slow Python is or some such, as an intrinsic property of "rubyists" or Python.
That's a turn off from an otherwise good article on guidelines one can use to easily identify opportunities to potentially optimize python code.