On 08/02/2012 06:34 PM, Michel Lespinasse wrote:
In rb_erase, move the easy case (node to erase has no more than
1 child) first. I feel the code reads easier that way.
Signed-off-by: Michel Lespinasse
Reviewed-by: Rik van Riel
--
All rights reversed
--
To unsubscribe from this list: send
On 08/02/2012 06:34 PM, Michel Lespinasse wrote:
In rb_erase, move the easy case (node to erase has no more than
1 child) first. I feel the code reads easier that way.
Signed-off-by: Michel Lespinassewal...@google.com
Reviewed-by: Rik van Riel r...@redhat.com
--
All rights reversed
--
To
In rb_erase, move the easy case (node to erase has no more than
1 child) first. I feel the code reads easier that way.
Signed-off-by: Michel Lespinasse
---
lib/rbtree.c | 35 ++-
1 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/lib/rbtree.c
In rb_erase, move the easy case (node to erase has no more than
1 child) first. I feel the code reads easier that way.
Signed-off-by: Michel Lespinasse wal...@google.com
---
lib/rbtree.c | 35 ++-
1 files changed, 18 insertions(+), 17 deletions(-)
diff --git
4 matches
Mail list logo