From: Chris Hanson Date: Mon, 14 Feb 2000 19:59:44 +0000 (+0000) Subject: Efficiency tweak suggested by Marc Feeley. X-Git-Tag: 20090517-FFI~4254 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=aefec2b58be306d31ce2e2fd19f0aef45568b23c;p=mit-scheme.git Efficiency tweak suggested by Marc Feeley. --- 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)