We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2188b6 commit 61fe124Copy full SHA for 61fe124
include/btree.h
@@ -15,6 +15,12 @@
15
* read and write large blocks of data. It is commonly used in databases and
16
* filesystems.
17
*
18
+ * NOTES ON PRACTICAL USAGE:
19
+ * 1. Implement a buffer manager for B-Tree, such as using Hash<idx, node> and
20
+ * LRU, to control which node is in memory, and of course O_DIRECT flag.
21
+ * 2. Extend the node struct with satellite data pointer(offset), enlarge the
22
+ * node size to 2*PAGE or even more.
23
+ *
24
* http://en.wikipedia.org/wiki/B-tree
25
******************************************************************************/
26
0 commit comments