Skip to content

全局资源回收池

Choose a tag to compare

@huailiang huailiang released this 08 Jul 14:49
· 100 commits to master since this release

使用自定义的链表来做缓冲池,既避免像List、Queue这样基于动态数组扩容内存成倍增长问题,又可以避免如LinkedList这种每次加入数据都会new(主要是LinkedListNode)的操作。