Skip to content

graphitemaster/libintrusive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libintrusive

A collection of intrusive data-structures for C

Why?

Intrusive data structures are much better for cache locality, utilize less allocations and allow for various optimizations like removing an object from a doubly-linked list in constant time.

Supported

  • Doubly-linked list
  • AVL tree
  • Red-Black tree
  • Hash-table

Using

Using an intrusive data structure is slightly different than a non-intrusive data structure. The node for the structure becomes a member of the thing you want to have a collection of. See example.c for an example

About

Intrusive data structures for C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages