From: miguel s. <mi...@ut...> - 2004-01-02 13:07:29
|
attached an improved heapsort.tcl (40% faster here): - uses lists, not arrays - inlines the result of assignments (readability <<) - avoids some buglets in the engine (like && being slower than nested) - replaces bitshift with arithmetic ops (readability >>) Miguel |