搜索资源列表
NBt
- NBT:.net 下的BT下载库 内存优化: ◆ KeepAliveMessage, ChokeMessage, UnChokeMessage, InterestingMessage, NotInterestingMessage可以修改成单实例,这样可以节省一些对象分配。不过要解决MessageFactory.Parse()方法需要的,从byte[]中创建Message对象的问题。同样,对于一些没有状态的Task,也可以不用每次创建。 ◆ ReceiveBuffer看看能不能用B+或
LoopQue
- 使用队列实现环形缓冲区的设计,将算法实现和内存分配分开设计,适用于进程间内存共享等的情况-Queue to the design of the ring buffer, to separate design, algorithm and memory allocation for inter-process shared memory
MyMalloc
- 几种动态内存分配算法的实现 keep a linked list of free blocks-Some dynamic memory allocation algorithm of the keep a linked list of free blocks
tlsf-1.0
- 嵌入式实时操作系统内存分配算法,适用于RTOS,复杂率很低,为O(1),很多操作系统都用此算法-memeory resource allocation
kkkk_buddy
- 详细说明:Linux物理内存分配方法:伙伴系统算法原码-Linux physical memory allocation method : Partnership original algorithm system code-buddy buddy system linux Buddy buddy memory allocator source buddy memory allocator code