Re:Python startup time: milliseconds matter
by jacquesm on Wednesday May 02, 2018 @05:03PM
(#16981133)
Python derives a good chunk of its speed (if not all of it) from carefully tuned libraries written in other languages (or even for other architectures in the case of many machine learning packages). As soon as you try to do a lot of heavy processing python even the compiled versions quickly bog down. IMO the best way to use python is to use it to cleverly glue together highly optimized code. That way you spend the minimum amount of effort and you get maximum performance.
[ Parent
| on HN ]
Re:Python startup time: milliseconds matter
by netheril96 on Wednesday May 02, 2018 @08:52PM
(#16982455)
Multithreading is the glue I need. How am I supposed to write optimized native module to spawn threads to do computation in numpy and pandas?
Re:Python startup time: milliseconds matter
by crdoconnor on Thursday May 03, 2018 @03:58AM
(#16984152)
Yeah, that was kind of my point :/