Creating a thread may cost thousands of CPU cycles
3 views
Skip to first unread message
amin...@gmail.com
unread,
May 28, 2020, 7:38:54 PM5/28/20
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
Creating a thread may cost thousands of CPU cycles. If you have a cheap function that requires only hundreds of cycles, it is almost surely wasteful to create a thread to execute it. The overhead alone is going to set you back.