Commit graph

6 commits

Author SHA1 Message Date
obache
44c79eba2c Fixes build failure on NetBSD.
pthread_yield() is not in NetBSD's pthread.
2009-01-04 11:00:35 +00:00
obache
1a69fa7676 Update tokyocabinet to 1.3.23.
Changes:
2008-12-03  Mikio Hirabayashi

	* tcbdb.c (tcbdbtranbegin): conbination of non-transaction and transaction became safer.

	- Release: 1.3.23

2008-11-28  Mikio Hirabayashi

	* tcutil.c (tcmapput3, tcmdbput3, tcmapputcat3, tcmdbputcat3): new functions.

	* tcutil.c (tctreeput3, tcndbput3): new functions.

	* tcadb.c (tcadbput, tcadbputcat): LRU rule is now strictly applied.

	- Release: 1.3.22
2008-12-07 11:31:21 +00:00
obache
5e2723172d Update tokyocabinet to 1.3.16.
Changes:
2008-10-30  Mikio Hirabayashi

	* tcutil.c (tcmapdup): performance was improved.

	* tcutil.c (tctreenew, tctreedel, tctreeput, tctreeout, tctreeget): new functions.

	* tcutil.c (tcsystem): new function.

	* tchdb.c (tchdbopenimpl): memory usage of reader declined.

	* tcadb.c (tcadbsync, tcadbcopy): on-memory database is now supported.

	- Release: 1.3.16
2008-11-07 11:49:08 +00:00
obache
8133814fb0 Update tokyocabinet to 1.3.12.
Changes:
2008-10-05  Mikio Hirabayashi

	* tcutil.c (tchexencode, tchexdecode): new functions.

	* tchdb.c (tchdbaddint): a bug of error code setting was fixed.

	- Release: 1.3.12
2008-10-13 05:39:46 +00:00
obache
7e81873c2b Update tokyocabinet to 1.3.11.
2008-09-23  Mikio Hirabayashi

	* tchdb.c (tchdbputimpl): performance of the ADDINT mode was improved.

	* tcbdb.c (tcbdbleafaddrec): performance of the ADDINT mode was improved.

	* tcfdb.c (tcfdbputimpl): performance of the ADDINT mode was improved.

	* tcutil.c (tcpagealign): new function.

	* tchdb.c (tchdbsetxmsiz): the parameter is now rounded up to multiple of the page size.

	* tcfdb.c (tcfdbtune): the parameter is now rounded up to multiple of the page size.

	* tchdb.c (tcseekwrite, tcseekread, tcseekreadtry): page border handling was added.

	- Release: 1.3.11

2008-09-20  Mikio Hirabayashi

	* tcutil.c (tcunlock): new function.

	* tchdb.c (tchdbsetmutex): useless locking was eliminated.

	* tcbdb.c (tcbdbsetmutex): useless locking was eliminated.

	* tcfdb.c (tcfdbsetmutex): useless locking was eliminated.

	- Release: 1.3.10

2008-09-10  Mikio Hirabayashi

	* tchdb.c (tchdblockallrecords, tchdbunlockallrecords): new functions.

	* tcfdb.c (tcfdblockallrecords, tcfdbunlockallrecords): new functions.

	- Release: 1.3.9
2008-10-06 10:41:25 +00:00
obache
f0ee1bc675 Import tokyocabinet-1.3.7 as databases/tokyocabinet.
Tokyo Cabinet is a library of routines for managing a database. The database is
a simple data file containing records, each is a pair of a key and a value.
Every key and value is serial bytes with variable length. Both binary data and
character string can be used as a key and a value. There is neither concept of
data tables nor data types. Records are organized in hash table, B+ tree, or
fixed-length array.
2008-09-04 12:10:28 +00:00