Windows-10-Toast-Notifications icon indicating copy to clipboard operation
Windows-10-Toast-Notifications copied to clipboard

Multiple toaster messages cause significant impact on runtime

Open JattMones opened this issue 5 years ago • 1 comments

Hi, very nifty python package you've compiled here. However, whenever I use multiple toaster messages within a python file (I have one go off for each function in my file), I notice a significant delay when waiting on the next section of the program to run.

I noticed you're using multi-threading to handle the use of multiple messages. Have you considered trying multi-processing instead? Python was not really built to support multi-threading, and it's very hit or miss if it (ever) works as intended. On the other hand, Python was built to support multi-processing. If we could swap the use of multi-threading with processing, I believe this may solve part of the slowdown issue mentioned earlier.

JattMones avatar Sep 09 '19 14:09 JattMones

Actually, would be really helpful if we get an async version of it so that we can latch the notifications onto an event loop.

Hyperclaw79 avatar Jan 24 '20 17:01 Hyperclaw79