summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorkeios <keios.cn@gmail.com>2006-10-03 01:13:49 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 08:03:41 -0700
commitd3717bdf8f08a0e1039158c8bab2c24d20f492b6 (patch)
tree9c8617cb3f58faace4941a0aa09ea1820d287b7c /include/asm-i386
parentffc5089196446c08d9a005cf0dd7cab18d119606 (diff)
downloadblackbird-op-linux-d3717bdf8f08a0e1039158c8bab2c24d20f492b6.tar.gz
blackbird-op-linux-d3717bdf8f08a0e1039158c8bab2c24d20f492b6.zip
[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 <keios.cn@gmail.com> Acked-by: Matt Mackall <mpm@selenic.com> Acked-by: Zou Nan hai <nanhai.zou@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud