@@ -372,6 +372,17 @@ Glossary
372372 :keyword: `async with ` keywords. These were introduced
373373 by :pep: `492 `.
374374
375+ CPU-bound
376+ Describes a task that spends most of its time computing, which keeps a
377+ CPU core busy. If each task keeps a core busy on its own, running the
378+ tasks :term: `concurrently <concurrency> ` on one core does not finish the
379+ work sooner, because the tasks still have to take turns using that core.
380+ Running independent tasks in :term: `parallel <parallelism> ` on several
381+ cores can finish it sooner, although the cores do the same amount of work
382+ in total. For example, if sorting a large list takes one second, sorting
383+ three of them takes about three seconds on one core and can take as
384+ little as one second on three cores. See also :term: `I/O-bound `.
385+
375386 CPython
376387 The canonical implementation of the Python programming language, as
377388 distributed on `python.org <https://www.python.org >`_. The term "CPython"
@@ -767,6 +778,15 @@ Glossary
767778 compare unequal (except with themselves), and their hash value is derived
768779 from their :func: `id `.
769780
781+ I/O-bound
782+ Describes a task that spends most of its time waiting for input or
783+ output, such as a network response or a disk read, and little of it using
784+ the CPU. While one I/O-bound task waits, the program can work on
785+ another, so running such tasks :term: `concurrently <concurrency> ` lets
786+ their waits overlap, even on a single CPU core. For example, three
787+ downloads that each take one second can finish in about one second when
788+ run concurrently, instead of three. See also :term: `CPU-bound `.
789+
770790 IDLE
771791 An Integrated Development and Learning Environment for Python.
772792 :ref: `idle ` is a basic editor and interpreter environment
0 commit comments