how many lines can put in hash table ?? - 05/12/03 11:44 AM
may i know
alias bigtable { hmake bigtable 10000 var %x = 400000, %t = $ticks echo -a mIRC is about to lock up for a few seconds... while (%x) { ; if (%x == 200000) { scon -a !ping $ticks } hadd bigtable %x big line of text with lots and lots or words here dec %x } echo -a I added $hget(bigtable,0).item items to bigtable in $calc($ticks -%t) milliseconds. ;hfree bigtable }
alias bigtable { var %size = $iif($1, $1, 400000) /echo -s Creating a hash table with %size entries /hmake bigtable 10000 /set %ticks_ = $ticks .timer 1 1 /bigtableadd %size } alias bigtableadd { var %x = $1 - 1 if (%x > 0) { /hadd bigtable %x big line of text with lots and lots or words here .timer -m 1 1 bigtableadd %x } else { /echo -a I added $hget(bigtable,0).item items to bigtable in $calc($ticks -%t) milliseconds. /unset %ticks_ /hfree bigtable } }