Re:Optimization tricks in Python: lists and tuples
by hcnews on Thursday June 14, 2018 @02:48PM
(#17314290)
I always scoff a bit when I see Python and Optimization/Fast/Efficiency in one statement. IMHO Python should only be used for non-complex scripts. For other things, just use better suited languages.
[ Parent
| on HN ]
Re:Optimization tricks in Python: lists and tuples
by rushter on Thursday June 14, 2018 @02:52PM
(#17314324)
My article describes the tricks which are used inside the Python interpreter. Every improvement in the interpreter saves an insane amount of computing power considering its popularity.
Re:Optimization tricks in Python: lists and tuples
by mhuffman on Thursday June 14, 2018 @03:11PM
(#17314482)
I have used python for years and years in very high performance setups. Usually uWSGi behind openresty.
On the other hand, I scoff when I see PHP used for anything whatsoever. It is a god-awful language with terrible performance in high-usage practice. /rant
Re:Optimization tricks in Python: lists and tuples
by orf on Thursday June 14, 2018 @03:34PM
(#17314669)
Optimization and efficiency are pretty abstract concepts and apply to way more than just execution speed.
Re:Optimization tricks in Python: lists and tuples
by heavenlyblue on Friday June 15, 2018 @05:15AM
(#17318480)
What should be used for complex scripts?