Giter Club home page Giter Club logo

bbmemorypool's Introduction

========================================================================
    控制台应用程序:MemoryPool 项目概述
========================================================================

该版本内存池采用单例设计模式,内存池的构造函数私有,通过外层接口函数getDefualt()
获得内存池单例,内存池采用链表存储节点内存块,计算内存指针变化来进行内存管理,通过
avl树的索引进行回收空间的分配,减少算法时间复杂度。

avl树的每一个节点对应于一个链表,当插入相同内存位的节点时,在树节点的对应链表中增加元素,
同时调整树形,为了减少调整树形的开销,在删除回收内存节点时,只做链表的删除节点,而不删除
avl树的索引节点,在节点中保留对应链表指针的初始状态。

本版本完成avl树的操作,完成内存回收利用的快速索引,链表边界已经完成,加入操作符重载,函数再
一层封装。
-------------------------------欢迎commit--------------------

bbmemorypool's People

Contributors

linuxb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cuiopen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.