Тёмный

How To Use Multiprocessing In Python 

Taylor's Software
Подписаться 916
Просмотров 1,1 тыс.
50% 1

In this video I go over how to utilize the Multiprocessing Module in Python. Multiprocessing allows us to bypass the Python Global Interpreter Lock also know as the GIL which restricts programs to run in a single process. Multiprocessing resembles the Threading module. This is useful for parallel programming and increasing the speed of your programs.

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@arandomguy3526
@arandomguy3526 Месяц назад
Ur channel is really underrated
@TaylorsSoftware
@TaylorsSoftware Месяц назад
Thank you! :)
@harshgamer6105
@harshgamer6105 Месяц назад
hey pal, nice vid, but what's the use of going into so much trouble when we can just create two different functions, or does this 'multiprocessing' has any specific use?
@TaylorsSoftware
@TaylorsSoftware Месяц назад
Great question. Multiprocessing allows you to run your code simultaneously without restricting you from Python's Global Interpreter Lock. In practice, this make your applications run much faster and will reduce the overhead on a single core on your cpu during run time.
@harshgamer6105
@harshgamer6105 Месяц назад
@@TaylorsSoftware Got it, thanks for the explanation!
@Osamaforgaming
@Osamaforgaming Месяц назад
Who else did not understand this??
@TaylorsSoftware
@TaylorsSoftware Месяц назад
What part was difficult to understand?
@Osamaforgaming
@Osamaforgaming Месяц назад
I'm sorry I love your channel but this subject I didn't understand it​@TaylorsSoftware
@TaylorsSoftware
@TaylorsSoftware Месяц назад
No worries and thank you so much! Let me know if you have any suggestions.