From aefec2b58be306d31ce2e2fd19f0aef45568b23c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 14 Feb 2000 19:59:44 +0000 Subject: [PATCH] Efficiency tweak suggested by Marc Feeley. --- v7/src/runtime/rbtree.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/runtime/rbtree.scm b/v7/src/runtime/rbtree.scm index e890f11cb..0aabb113c 100644 --- a/v7/src/runtime/rbtree.scm +++ b/v7/src/runtime/rbtree.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: rbtree.scm,v 1.6 1999/01/02 06:11:34 cph Exp $ +$Id: rbtree.scm,v 1.7 2000/02/14 19:59:44 cph Exp $ -Copyright (c) 1993-1999 Massachusetts Institute of Technology +Copyright (c) 1993-2000 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -236,7 +236,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (case-4 w) (let ((n+ (get-link+ w d))) (if (or (not n+) - (eq? 'BLACK (node-color (get-link+ w d)))) + (eq? 'BLACK (node-color n+))) ;; case 2 (begin (set-node-color! w 'RED) -- 2.25.1