Your Python code may run correctly, but you need it to run faster. Updated for Python 3, this expanded edition shows you how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. By exploring the fundamental theory behind design choices, High Performance Python helps you gain a deeper understanding of Python’s implementation.
How do you take advantage of multicore architectures or clusters? Or build a system that scales up and down without losing reliability? Experienced Python programmers will learn concrete solutions to many issues, along with war stories from companies that use high-performance Python for social media analytics, productionized machine learning, and more.
Get a better grasp of NumPy, Cython, and profilers
Learn how Python abstracts the underlying computer architecture
Use profiling to find bottlenecks in CPU time and memory usage
Write efficient programs by choosing appropriate data structures
Speed up matrix and vector computations
Use tools to compile Python down to machine code
Manage multiple I/O and computational operations concurrently
Convert multiprocessing code to run on local or remote clusters
Deploy code faster using tools like Docker
0 有用 csyangchen 2023-06-05 22:23:33 中国香港
例子感觉离实际太远, 感觉翻来覆去就是几个实际数据挖掘上不太会涉及到的玩具例子. 第一章讲的还行, 后面每章感觉讲的很糙, 然后很多又想讲, 但是又没展开.
0 有用 csyangchen 2023-06-05 22:23:33 中国香港
例子感觉离实际太远, 感觉翻来覆去就是几个实际数据挖掘上不太会涉及到的玩具例子. 第一章讲的还行, 后面每章感觉讲的很糙, 然后很多又想讲, 但是又没展开.