Skip to content
/ malloc Public

malloc() function from scratch in C to understand how memory allocation, garbage collection and de-allocation works

Notifications You must be signed in to change notification settings

AB7zz/malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHASES:-

PHASE 1 - Learn what is malloc

  • Created a test.c to deeply understand how malloc works

PHASE 2 - Linear allocation

  • Allocate
  • Linear Sort

PHASE 3 - Linear de-allocation

  • Binary Search
  • De-allocate

PHASE 4 - Merge consequent chunks

  • Merge

PHASE 5 - Garbage Collection

  • Collect garbage

About

malloc() function from scratch in C to understand how memory allocation, garbage collection and de-allocation works

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published