mp81ss / miniclib

Mini C data-structure library containing vector and list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# ARCHIVED - Moved to gitlab


CLibrary is just a dummy data-structure library containing vector and list only.
Both vector and list are 2 single and independent headers.

The list requires dynamic memory, mallocating the nodes, but has some tricks
to make it fast in traversal and memory efficient. Moreover it is safe: All
pointers are NULL-checked and all indexes are checked for out-of-bound errors.

vector is speed oriented, no checks are done and user must check that no NULL
pointers are passed if not explicitly allowed and indexes are in valid range.

See example.c or directly the headers (fully doxygenated), or the help file.


Tested on windows with CLang v11 and VS2019, Linux with gcc v4.8.5
See file cv_bench.c

About

Mini C data-structure library containing vector and list

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 50.5%Language:C 49.5%