Overview of Primary Space Configurator _allocator

18 thousand Unauthorized reproduction is prohibited Understanding the course
Course Introduction
discuss {{interaction.discussNum ? '(' + interaction.discussNum + ')' : ''}}
Suitable for people
1. With C++foundation 2. Have simple use experience of STL 3. Want to master the underlying implementation principle of STL 4. Want to improve ability by analyzing source code 5. Want to use STL better
You will learn
Memory pool, container, extraction programming mechanism, container principle, red black tree, hashtable, STL algorithm, cooperation between various components
Course Introduction

Contents of the course:

Space configurator (memory pool, primary space configurator, secondary space configurator)

Extraction programming mechanism

Basic principle of container

Red black tree

hashtable

algorithm

STL source code analysis sgi version is another very important module after STL source code analysis pj version. This version is based on the earlier stage (the secret behind the container, and how the six components of STL work together. This topic will focus on the source code analysis of containers, iterators, and simple space configurators, with emphasis on container management and implementation), The implementation process of the spatial configurator (memory pool), the application of the extraction mechanism, and the increased use of algorithms were analyzed emphatically. In short, the source code analysis of the SGI version of the source code further improved the ability to analyze the source code, and improved the pattern and cognition!

Expand more
release
 head portrait

{{ item.user.nick_name }} {{ EROLE_NAME[item.user.identity] }}

Topping note
 Discussion Chart
{{ item.create_time }} reply
  • delete

    Are you sure to delete?

    confirm
    cancel
  • {{item. is_top==1? 'Cancel topping': 'topping'}}

    The discussion that has been set to the top, do you want to replace the existing one?

    confirm
    cancel
{{ tag.text}}
 head portrait
{{ subitem.user.nick_name }} {{ EROLE_NAME[subitem.user.identity] }}
{{ subitem.create_time }} reply
delete

Are you sure to delete?

confirm
cancel
release
{{pageType==='video '?' The discussion area grabs the sofa, and you can get double credits': 'The discussion area is empty, please say two sentences~'}}
release
{{tips.text}}
{{ noteHeaderTitle }} note {{hasMyNote? 'My notes':' Take notes'}}
{{hasMyNote? 'My notes':' Take notes'}}
Quality Notes
Updated on: {{$dayjs. format ('YYYY-MM-DD HH: mm: ss', item.last_uptime*1000) }}
 head portrait
{{ detail.username }}

Public notes are visible to others and have the opportunity to be rated as "high-quality notes" by the administrator

{{ noteEditor.content.length }}/2000

Public Notes
preservation
put questions to

The lecturer will answer your questions as soon as possible. If you choose to ask questions in public, you can get more help from students.

Record time point
Record the time when the video is played when asking questions, so as to facilitate subsequent viewing
Open questions
Submit