Home >Backend Development >PHP Tutorial >垃圾收集 - php 的垃圾回收是否存在 bug,为什么composer关掉GC速度快很多?

垃圾收集 - php 的垃圾回收是否存在 bug,为什么composer关掉GC速度快很多?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:40:351024browse

https://github.com/composer/composer/commit/ac676f47f7bbc619678a29deae097b6b0710b799

<code>gc_disable();
</code>

为什么关了垃圾回收效率反而更好?

回复内容:

https://github.com/composer/composer/commit/ac676f47f7bbc619678a29deae097b6b0710b799

<code>gc_disable();
</code>

为什么关了垃圾回收效率反而更好?

http://www.weibo.com/1170999921/Bz9b0nGn5
http://segmentfault.com/q/1010000002402696

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn