Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
GBoz, strangely enough my ally doesn't get sorted in version 0.2.8, hope it won't disappoint you either |
|
|
I am sorry to disapoint you, but on 0.2.8 version the allies are already sorted. An ally sorter is not needed. |
|
|
Hi there,
I know the sorting algorithm is nothing more than a selection sort, which is quite inefficient on large lists, but I thought this wasn't the case. If somebody experiences a considerable delay please advice me and I'll improve the code's execution speed. Thanks everybody for your kind comments and help ;) |
|
|
This is mine , takes less than a sec for 100 players, much much faster.
//sort the allies by score, this is how its done, small fast and accurate, it takes less than a second for 100 rows sortallies(); function XX(xpath, xpres, startnode, myhtml){
function forallrows(tbl,startrow,call){
function mswap(a,b) {
function sortAllies() {
function findmax(index, mTable) {
|
|
|
Could I suggest to put this:
on top of the script. With this the Firefox Errors and the browser work less |
|
|
for script to be working also for Home Secretary/Interior Minister you need to make this change: function getPos(row) {
line with return change to ->
|
|
|
ty |