Skip to content

42-Ikole/Containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—ƒ Containers

Reimplementing some stl containers

๐Ÿ—„๏ธ Containers:

๐Ÿ–‡๏ธ Features:

  • Iterators
  • Iterator traits
  • enable_if
  • Type traits

๐Ÿชด Implementation:

Deque is implemented as a circular buffer
Map and Set are both implemented as a red-black tree

๐Ÿ“Š Bench mark results:

I ran benchmarks on all my containers with my own tester which can be found here

These benchmarks were run on macOS Monterey

Vector:

vector benchmark

Deque:

deque benchmark

Map:

map benchmark

Set:

set benchmark

About

๐Ÿ—ƒ STL containers but written by me :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published