Go to file
Heng Li 9dcbb97e0e added license and a couple of comments 2011-05-05 15:39:04 -04:00
lua bugfix in os.getopt(): "-" not recognized 2011-05-01 22:53:07 -04:00
README update README 2011-04-06 10:23:24 -04:00
kbtree.h Change /2 to >>1. Surprisingly this improves the speed... 2011-01-16 19:37:21 -05:00
kbtree_test.c Added kbtree.h 2011-01-13 12:23:07 -05:00
kfunc.c Added the kfunc library 2011-01-13 13:05:35 -05:00
khash.h Allow to init global functions (0.2.5) 2011-02-14 16:33:27 -05:00
khash_keith.c C verions of Keith's C++ progs; see inner comments 2011-04-30 23:17:56 -04:00
khash_keith2.c C verions of Keith's C++ progs; see inner comments 2011-04-30 23:17:56 -04:00
khash_test.c Added khash.h 2011-01-13 12:18:28 -05:00
khmm.c Added the khmm library 2011-01-13 12:55:01 -05:00
khmm.h Added the khmm library 2011-01-13 12:55:01 -05:00
klist.h Added kvec.h and klist.h 2011-01-13 12:47:54 -05:00
klist_test.c Added kvec.h and klist.h 2011-01-13 12:47:54 -05:00
kmin.c Added the license to kmin 2011-01-13 12:44:38 -05:00
kmin.h Added the license to kmin 2011-01-13 12:44:38 -05:00
kmin_test.c Added the kmin library 2011-01-13 12:42:40 -05:00
knetfile.c avoid a segfault when connection fails 2011-01-29 21:55:39 -05:00
knetfile.h Added the knetfile library 2011-01-13 12:53:26 -05:00
knhx.c Added the knhx library 2011-01-13 13:10:52 -05:00
knhx.h Added the knhx library 2011-01-13 13:10:52 -05:00
kseq.h Added kseq.h 2011-01-13 12:36:26 -05:00
kseq_bench.c Added kseq.h 2011-01-13 12:36:26 -05:00
kseq_bench2.c Added kseq.h 2011-01-13 12:36:26 -05:00
kseq_test.c Added kseq.h 2011-01-13 12:36:26 -05:00
kseq_test.dat Added kseq.h 2011-01-13 12:36:26 -05:00
ksort.h Added ks_shuffle() and ks_sample() 2011-04-10 23:29:45 -04:00
ksort_test.c benchmark performance given unaligned memory 2011-04-17 22:06:31 -04:00
ksort_test.cc Added ksort.h 2011-01-13 12:25:08 -05:00
kstring.c accelerate kstrtok() 2011-02-12 18:52:08 -05:00
kstring.h accelerate kstrtok() 2011-02-12 18:52:08 -05:00
kstring_bench.c Added the kstring library 2011-01-13 12:28:46 -05:00
kstring_bench2.c Added the kstring library 2011-01-13 12:28:46 -05:00
ksw.c added license and a couple of comments 2011-05-05 15:39:04 -04:00
ksw.h added license and a couple of comments 2011-05-05 15:39:04 -04:00
kvec.h Added kvec.h and klist.h 2011-01-13 12:47:54 -05:00
kvec_test.cc Added kvec.h and klist.h 2011-01-13 12:47:54 -05:00

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.