• (现货)高性能Python (美)戈雷利克,(英)欧日沃尔德 著 东南大
21年品牌 40万+商家 超1.5亿件商品

(现货)高性能Python (美)戈雷利克,(英)欧日沃尔德 著 东南大

12 1.5折 78 八五品

仅1件

上海黄浦
认证卖家担保交易快速发货售后保障

作者(美)戈雷利克,(英)欧日沃尔德 著

出版社东南大学出版社

ISBN9787564153854

出版时间2015-02

版次1

装帧平装

开本16开

纸张胶版纸

页数351页

字数99999千字

定价78元

货号9787564153854

上书时间2024-08-21

   商品详情   

品相描述:八五品
商品描述
基本信息
书名:高性能Python
定价:78.00元
作者:(美)戈雷利克,(英)欧日沃尔德 著
出版社:东南大学出版社
出版日期:2015-02-01
ISBN:9787564153854
字数:455000
页码:351
版次:
装帧:平装
开本:16开
商品重量:
编辑推荐

内容提要
你的Python代码也许运行正确,但是你需要运行得更快速。通过探讨隐藏在设计备选方案中的基础理论,戈雷利克和欧日沃尔德编著的《高性能Python》将帮助你更深入地理解Python的实现。你将了解如何定位性能瓶颈,从而显著提升高数据流量程序中的代码执行效率。 你该如何利用多核架构和集群?或者你该如何搭建一个可以自由伸缩而不会影响可靠性的系统?有经验的Python程序员将会学习到这类问题的具体解决方案,以及来自于各个公司的如何把高性能Python用于社交媒体分析、产品机器学习和其他场景中去的曲折故事。
目录
Preface1. Understanding Performant Pytho The Fundamental Computer System Computing Units Memory Units Communications Layers Putting the Fundamental Elements Together Idealized Computing Versus the Python Virtual Machine So Why Use Python?2. Profiling to Find Bottlenecks Profiling Efficiently Introducing the Julia Set Calculating the Full Julia Set Simple Approaches to Timing--print and a Decorator Simple Timing Using the Unix time Command Using the cProfile Module Using runsnakerun to Visualize cProfile Output Using line_profiler for Line-by-Line Measurements Using memory_profiler to Diagnose Memory Usage Inspecting Objects on the Heap with heapy Using dowser for Live Graphing of Instantiated Variables Using the dis Module to Examine CPython Bytecode Different Approaches, Different Complety Unit Testing During Optimization to Maintain Correctness No-op @profile Decorator Strategies to Profile Your Code Successfully Wrap-Up3. Lists and Tuples A More Efficient Search Lists Versus Tuples Lists as Dynamic Arrays Tuples As Static Arrays Wrap-Up4. Dictionaries and Sets How Do Dictionaries and Sets Work? Inserting and Retrieving Deletio Resizing Hash Functions and Entropy Dictionaries and Namespaces Wrap-Up5. Iterators and Generators Iterators for Infinite Series Lazy Generator Evaluatio Wrap-Up6. Matrix and Vector Computatio Introduction to the Problem Aren't Python Lists Good Enough? Problems with Allocating Too Much Memory Fragmentatio Understanding perf Making Decisions with perf's Output Enter numpy Applying numpy to the Diffusion Problem Memory Allocations and In-Place Operations Selective Optimizations: Finding What Needs to Be Fixed numexpr: Making In-Place Operations Faster and Easier A Cautionary Tale: Verify "Optimizations" (scipy) Wrap-Up7. Compiling to C What Sort of Speed Gains Are Possible? JIT Versus AOT Compilers Why Does Type Information Help the Code Run Faster? Using a C Compiler Reviewing the Julia Set Example Cvtho Compiling a Pure-Python Version Using Cytho Cython Annotations to Analyze a Block of Code Adding Some Type Annotations Shed Ski Building an Extension Module The Cost of the Memory Copies Cython and numpy ParaUelizing the Solution with OpenMP on One Machine Numba Pythra PyPy Garbage Collection Differences Running PyPy and Installing Modules When to Use Each Technology Other Upcoming Projects A Note on Graphics Processing Units (GPUs) A Wish for a Future Compiler Project Foreign Function Interfaces ctypes cffi f2py CPython Module Wrap-Up8. Concurrency Introduction to Asynchronous Programming Serial Crawler gevent tornado AsyncIO Database Example Wrap-Up9. lhe multiprocessing Module An Overview of the Multiprocessing Module Estimating Pi Using the Monte Carlo Method Estimating Pi Using Processes and Threads Using Python Objects Random Numbers in Parallel Systems Using numpy Finding Prime Numbers Queues of Work Verifying Primes Using Interprocess Communicatio Serial Solutio Naive Pool Solutio A Less Naive Pool Solutio Using Manager.Value as a Flag Using Redis as a Flag Using RawValue as a Flag Using mmap as a Flag Using mmap as a Flag Redux Sharing numpy Data with multiprocessing Synchronizing File and Variable Access File Locking Locking a Value Wrap-Up10. Clusters and Job Queues Benefits of Clustering Drawbacks of Clustering $462 Million Wall Street Loss Through Poor Cluster Upgrade Strategy Skype's 24-Hour Global Outage Common Cluster Designs How to Start a Clustered Solutio Ways to Avoid Pain When Using Clusters Three Clustering Solutions Using the Parallel Python Module for Simple Local Clusters Using IPython Parallel to Support Research NSQ for Robust Production Clustering Queues Pub/sub Distributed Prime Calculatio Other Clustering Tools to Look At Wrap-Up11. Using Less RAM Objects for Primitives Are Expensive The Array Module Stores Many Primitive Objects Cheaply Understanding the RAM Used in a Collectio Bytes Versus Unicode Efficiently Storing Lots of Text in RAM Trying These Approaches on 8 Million Tokens Tips for Using Less RAM Probabilistic Data Structures Very Appromate Counting with a 1-byte Morris Counter K-Minimum Values Bloom Filters LogLog Counter Real-World Example12. Lessons from the Field Adaptive Lab's Social Media Analytics (SOMA) Python at Adaptive Lab SoMA's Desig Our Development Methodology Maintaining SoMA Advice for Fellow Engineers Making Deep Learning Fly with RadimRehurek.com The Sweet Spot Lessons in Optimizing Wrap-Up Large-Scale Productionized Machine Learning at Lyst.com Pythons Place at Lyst Cluster Desig Code Evolution in a Fast-Moving Start-Up Building the Recommendation Engine Reporting and Monitoring Some Advice Large-Scale Social Media Analysis at Smesh Pythons Role at Smesh The Platform High Performance Real-Time String Matching Reporting, Monitoring, Debugging, and Deployment PyPy for Successful Web and Data Processing Systems Prerequisites The Database The Web Applicatio OCR and Translatio Task Distribution and Workers Conclusio Task Queues at Lanyrd.com Python's Role at Lanyrd Making the Task Queue Performant Reporting, Monitoring, Debugging, and Deployment Advice to a Fellow Developer Index
作者介绍
Micha Gorelick,因为在时间旅行上的贡献而获得2046年诺贝尔奖,开个玩笑,他从2000年就开始学习天体物理学,在bitly公司处理数据,作为现存的疯狂科学家,他与其他人一起创办了Fast Forward实验室,解决从机器学习到高性能数据流算法的所有问题。 Ian Ozsvald,是一名数据科学家,他在Modellnsight.io执教,具有十年以上的Python经验。他在PyCon和PyData会议上讲述过Python高性能编程,在英国多年来提供数据科学和高性能计算的咨询。
序言

   相关推荐   

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP