xanadu - xml b-tree - 4
This commit is contained in:
parent
ec6815345e
commit
73f5db2751
|
@ -33,8 +33,8 @@
|
||||||
(do ((i 0 (+ i 1)))
|
(do ((i 0 (+ i 1)))
|
||||||
((= i len) (list retl retr))
|
((= i len) (list retl retr))
|
||||||
(vector-set! retl i (vector-ref v i))
|
(vector-set! retl i (vector-ref v i))
|
||||||
(vector-set! retr i (vector-ref v (- len (+ i 1))))
|
(vector-set! retr i (vector-ref v (- len i)))
|
||||||
)))
|
))))
|
||||||
|
|
||||||
(define (make-b-tree)
|
(define (make-b-tree)
|
||||||
(let ((*tree (make-vector 0)))
|
(let ((*tree (make-vector 0)))
|
||||||
|
|
Loading…
Reference in New Issue