擅长:python、mysql、java
<blockquote>
<p>After multiple bad attempts, I've noticed that my OS is slower. I was wondering if running loops would negatively harm the RAM or processing even though if I force quit the application - or maybe it was a coincidental occurrence.</p>
</blockquote>
<p>不可以。除非应用程序留下了执行工件(例如其他僵尸进程也会循环),否则什么都不会发生(在进程停止执行之后,操作系统会回收它所拥有的所有资源)。在</p>
<blockquote>
<p>I was wondering if running loops would negatively harm the RAM or processing even though if I force quit the application</p>
</blockquote>
<p>就CPU而言,无限循环只是一组永不结束的(有条件的或无条件的)跳转,后面可能有或没有其他有意义的指令。完全无害。在</p>