flyinclouds / KBLAutoSwitch

AHK自动切换中英文输入法,输入法,自动切换
731 stars 48 forks source link

进程优先级应该设置为 `AboveNormal` #33

Open yaohappiness opened 1 year ago

yaohappiness commented 1 year ago

提高进程优先级并不会提高脚本的运行速度。提高进程优先级只意味着如果有多个进程同时在运行,可以让进程优先执行,增加 CPU 时间。进程优先级只需要比普通进程更高即可达到目的。

设置过高的优先级反而会增加负载,让系统更卡顿,对提升程序的响应性没有帮助。

Don’t set your important processes to ‘High’ or ‘Real-Time’. This can cause complications and is usually ineffective at improving application responsiveness.

Remember, giving a process a higher priority does not mean it will run faster. It simply means if several processes are active at once, it will have a higher precedence.

Process Lasso 是一款进程优先级的调度工具,它的开发者解释了为什么要这样做:

同理,SetControlDelay 也应该设置为 0,而不是 -1