问答 / 0 / 1 / 创建于 5年前
请问对象池跟单例的区别??? 不是都是用在初始化对象消耗大的时候,怎么区分要用那个模式?
WorkerPool.php
$worker = new StringReverseWorker();
我要举报该,理由是:
WorkerPool.php