hash tables, top bot numbers - 18/01/10 12:18 PM
Feature:
adds command to get top/bot numbers in data, from hash table, example:
'''''hash'''''''
test1
1
test2
2
test3
3
test4
4
''''''''''''''''''''
$hget(hash,1).topnumber > return item Test4
$hget(hash,1).botnumber > return item Test1
$hget(hash,2).botnumber > return Item Test3
example...
Reasoning:
if in hash table 5000-6000 items, to sort this, need some time.. (long :p)
and can not get it life (now)
need always sort...
if you add it, that will be very very good, thx.
Sry for my bad eng.
adds command to get top/bot numbers in data, from hash table, example:
'''''hash'''''''
test1
1
test2
2
test3
3
test4
4
''''''''''''''''''''
$hget(hash,1).topnumber > return item Test4
$hget(hash,1).botnumber > return item Test1
$hget(hash,2).botnumber > return Item Test3
example...
Reasoning:
if in hash table 5000-6000 items, to sort this, need some time.. (long :p)
and can not get it life (now)
need always sort...
if you add it, that will be very very good, thx.
Sry for my bad eng.