摘要:转自http://www.mathematik.uni-ulm.de/help/BerkeleyDB/ref/am_conf/cachesize.htmlThe size of the cache used for the underlying database can be specified by calling theDB->set_cachesizemethod. Choosing a cache size is, unfortunately, an art. Your cache must be at least large enough for your working se
阅读全文
摘要: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
阅读全文
摘要:source:http://blog.sina.com.cn/u/1210195593转自:http://www.cnblogs.com/huqingyu/archive/2006/10/06/522250.html 熬了两天,终于把这该死的环境API给翻译出来了,不知道质量如何,这里给贴出来,各位大牛给看看什么地方有错。 本来翻译这玩意的目的是为了给自己一个对BDB环境使用的大局观,可是现在看来作用并不是很明显,这该死的玩意太多需要细细揣摩的地方了,要在工程中使用,恐怕没有更熟练的掌握更大的工夫是有点难搞的。如果看客中有个中高手,请务必拉小弟一把,万分感谢! 好,现在正式贴上乌焦巴弓版环境A
阅读全文
摘要:梯度下降法是一个一阶最优化算法,通常也称为最速下降法。(维基)http://blog.csdn.net/pennyliang/article/details/6998517
阅读全文