Commit Graph

9 Commits

Author SHA1 Message Date
siddontang cdb6b1cdd2 use iterator to read many consistently in api
for a read api, it not uses lock, so multi read in a api may cause some
unpredictable when something writes at same time.
2014-07-10 11:32:37 +08:00
siddontang 5e87dc9437 update document 2014-07-09 10:26:15 +08:00
siddontang dfb9c90412 update documents 2014-07-09 09:33:48 +08:00
siddontang 1b1d2b74e1 optimize BufGet 2014-07-07 15:36:16 +08:00
siddontang 51a5dc9212 bugfix: BufGet must make if b is nil 2014-07-07 14:50:58 +08:00
siddontang 66d2b3b8ba optimize cgo leveldb
reduce memory copy, reduce cgo call number
2014-07-07 12:37:16 +08:00
siddontang 38f741ddb1 use go-log and adjust some param name
go-log now has a well document.
it can be used directly.

limit may cause confused, use count instead
2014-07-04 13:27:57 +08:00
siddontang a71fbfbfd3 iterator find optimize 2014-06-19 17:45:52 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00