Second Edition8 min read
Item 74: Consider memoryview and bytearray for Zero-Copy Interactions with bytes
Though Python isn’t able to parallelize CPU-bound computation without extra effort (see Item 64: “Consider concurrent.futures for True Parallelism”), it is able to support high-throughput, parallel I/O in a variety of ways (see Item 53: “Use Threads for Blocking I/O, Avoid for Parallelism” and Item…
By Brett SlatkinEffective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog

Read the full story
Originally published by Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog on Oct 22, 2019.
Comments
Sign in to join the discussion.