NobleBlocks

Research indexJournal article

OPTIMIZATION OF COMPUTATIONAL TASKS USING MULTITHREADING IN PYTHON

Galimullin, Гузуева

EKONOMIKA I UPRAVLENIE PROBLEMY RESHENIYA1 Jan 2024

NobleIDark:/48914/w1/20260526/37711AFFDOI10.36871/ek.up.p.r.2024.11.09.007

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

The article explores the use of multithreading and multiprocessing to optimize computational tasks in Python, taking into account the features of the global interpreter lock (GIL). The principles of multithreading, its advantages for I/O tasks, and limitations for CPU-intensive computing are considered. The possibilities of the multiprocessor approach and its effectiveness in bypassing GIL for high-load computing tasks are also analyzed. Examples of implementation and comparative results are provided to assess which approach is most effective for specific tasks.

Discussion

Topics

More

Suggest a correction or report