Commit Graph

8 Commits

Author SHA1 Message Date
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 6adfb1be98 adjust Open interface, not backwards compatibility 2014-07-04 15:45:23 +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 b5400e8056 bugfix for repair
db must use defer to close
2014-07-02 10:11:16 +08:00
siddontang 9d8c045ca0 add repair support 2014-06-26 11:04:54 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00