Skip to content
A standalone and lightweight C library http://attractivechaos.github.io/klib/
C C++ Lua Makefile
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lua
README
kbtree.h
kbtree_test.c
kfunc.c
khash.h
khash_test.c
khmm.c
khmm.h
klist.h
klist_test.c
kmin.c
kmin.h
kmin_test.c
knetfile.c
knetfile.h
knhx.c
knhx.h
kseq.h
kseq_bench.c
kseq_bench2.c
kseq_test.c
kseq_test.dat
ksort.h
ksort_test.c
ksort_test.cc
kstring.c
kstring.h
kstring_bench.c
kstring_bench2.c
kvec.h
kvec_test.cc

README

INTRODUCTION
============

Klib is a standalone and lightweight C library. Most components are independent
of external libraries, except the standard C library, and independent of each
other. To use a component of this library, you only need to copy one or two
files to your souce code tree without worrying about library dependencies.

Klib strives for efficiency and a small memory footprint. Some components, such
as khash.h, kbtree.h, ksort.h and kvec.h, are among the most efficient
implementations of similar algorithms or data structures, while using less
memory than many others.


OVERVIEW
========

khash.h         Generic hash table
kbtree.h        Generic B-tree
ksort.h         Generic sort
kseq.h          Generic stream buffer plus a FASTA/Q parser
kvec.h          Generic vector
klist.h         Generic single-linked list plus a memory pool
kstring.{h,c}   String library
knetfile.{h,c}  Random access to remote files

kfunc.c         Special mathematical functions
kmin.{h,c}      Derivative-free non-linear programming
khmm.{h,c}      Basic HMM library
knhx.{h,c}      Newick format parser


LICENSE
=======

Most of the source codes are released under the MIT/X11 or the BSD license.

Something went wrong with that request. Please try again.