Conversation

Q: why did i optimize my code (running on Windows) but it works slower now A: almost invariably because some Windows process with a bland and uninformative name like "Windows Modules Installer Worker" has decided that it's going to do 30 MB/s of disk writes for foreseeable future
6
224
Replying to
I'm not entirely sure how it will treat spawned sub-processes but it should at least make it calm down with maintenance work. You might have to convince it more things are games. I use this to make YouTube videos work when I'm doing a bunch of stuff in the background though.
1
5
Replying to and
Maybe there is some better way of doing things on Windows but this is the hammer that I've been using and it genuinely works really well for my use case of making YouTube or mpv stop stuttering when a bunch of stuff is pegging all the CPU cores in the background.
1
3
Replying to and
It also stops it from telling you about update notifications, etc. too. I have it set to permanently consider mpv to be a game. I do all that stuff on Windows because it's easier to leave my headphones plugged into it and to have a work computer (Linux) + play computer (Windows).
3