From: keios Date: Tue, 3 Oct 2006 08:13:49 +0000 (-0700) Subject: [PATCH] low performance of lib/sort.c X-Git-Tag: v2.6.19-rc1~361 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3717bdf8f08a0e1039158c8bab2c24d20f492b6;p=pandora-kernel.git [PATCH] low performance of lib/sort.c It is a non-standard heap-sort algorithm implementation because the index of child node is wrong . The sort function still outputs right result, but the performance is O( n * ( log(n) + 1 ) ) , about 10% ~ 20% worse than standard algorithm. Signed-off-by: keios Acked-by: Matt Mackall Acked-by: Zou Nan hai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed