• golang heap小根堆源码走读 heap概览 在golang中 通过heap给出了一个实现小根堆的接口 type Interface interface sort Interface Push x interface Pop inte
  • 概览 Goalng中通过sync pool提供了对象池的实现来达到对象复用的目的 在netty中 也通过Recycle类实现了类似的对象池实现 在netty的对象池Recycle中 当A线程需要将B线程申请的对象回收到对象池中的时候 会专门