Berkeley DB Reference Guide: Selecting a page size

摘要: The size of the pages used in the underlying database can be specified by calling theDB->set_pagesizefunction. The minimum page size is 512 bytes and the maximum page size is 64K bytes, and must be a power of two. If no page size is specified by the application, a page size is selected based on t 阅读全文
posted @ 2012-02-13 20:26 达尔文 阅读(273) 评论(0) 推荐(0) 编辑

BerkeleyDB环境API (转载)

摘要: source:http://blog.sina.com.cn/u/1210195593转自:http://www.cnblogs.com/huqingyu/archive/2006/10/06/522250.html 熬了两天,终于把这该死的环境API给翻译出来了,不知道质量如何,这里给贴出来,各位大牛给看看什么地方有错。 本来翻译这玩意的目的是为了给自己一个对BDB环境使用的大局观,可是现在看来作用并不是很明显,这该死的玩意太多需要细细揣摩的地方了,要在工程中使用,恐怕没有更熟练的掌握更大的工夫是有点难搞的。如果看客中有个中高手,请务必拉小弟一把,万分感谢! 好,现在正式贴上乌焦巴弓版环境A 阅读全文
posted @ 2012-02-13 16:45 达尔文 阅读(282) 评论(1) 推荐(0) 编辑

梯度下降算法

摘要: 梯度下降法是一个一阶最优化算法,通常也称为最速下降法。(维基)http://blog.csdn.net/pennyliang/article/details/6998517 阅读全文
posted @ 2012-02-09 13:48 达尔文 阅读(312) 评论(0) 推荐(0) 编辑