C dynamic containers are missing in the standard, so almost every single project in C uses different implementations. This library is yet another implementation of few basic containers, optimized for speed. A simplified interface to libarchive allows to save the containers in a compressed form.

All the containers are 32bit. This greatly improves the performance (up to ~32%) and reduces the memory consumption (up to 41%) on 64bit systems.
All the containers are pre-allocating buffers to reduce number of calls to malloc().

There's no manpage, but all the functions are well described in the header files, and examples of usage can be found in the test program sources, in the ./test directory.

Features

  • dynamic c-string container
  • dynamic bit array
  • general purpose dynamic array
  • dynamic hash table
  • dynamic ring buffer
  • general purpose trie container
  • built-in functions for saving/loading of the containers
  • built-in functions for archiving of the containers, using libarchive
  • universal functions for archiving data structures of any type

Project Activity

See All Activity >

Categories

Libraries

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow libfc4c

libfc4c Web Site

Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL on Google Cloud Icon
99.99% Uptime for MySQL and PostgreSQL on Google Cloud

Enterprise Plus edition delivers sub-second maintenance downtime and 2x read/write performance. Built for critical apps.

Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Try Cloud SQL Free

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers

Programming Language

C

Related Categories

C Libraries

Registered

2017-12-22