...Performance
These are designed to be general purpose, and reasonably efficient in most circumstances.
Notes
The biggest problem with these is type safety due to the use of pointer to void for type abstraction.
This code is intentionally spartan. With the exception of a handful of assertions placed as an aid to debugging for the most common or fatal errors (underflow in pop operations, allocation failures), this library makes no attempt to protect itself.
Please read 'algo' function documentation. Some of the functions have different behavior than the standard library equivalents.