[Groonga-commit] groonga/groonga [master] fix left and right node description.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 23日 (金) 16:59:03 JST


Kouhei Sutou	2010-07-23 07:59:03 +0000 (Fri, 23 Jul 2010)

  New Revision: 30faadc6b105e572960891c84dd6bd4be70ca85e

  Log:
    fix left and right node description.

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+3 -2)
===================================================================
--- lib/pat.c    2010-07-23 07:38:45 +0000 (30728b3)
+++ lib/pat.c    2010-07-23 07:59:03 +0000 (b20ff10)
@@ -42,8 +42,9 @@ typedef struct {
     lr[0]: the left node.
     lr[1]: the right node.
 
-    The left node has smaller nodes rather than the current node.
-    The right node has larger nodes rather than the current node.
+    The left node has 0 at the nth bit at the nth byte.
+    The right node has 1 at the nth bit at the nth byte.
+    'check' value indicate 'at the nth bit at the nth byte'.
 
     The both available nodes has larger check value rather
     than the current node.




Groonga-commit メーリングリストの案内
Back to archive index