Id: 9758; Nick: Albie; Timestamp: 2008-04-26 13:39:29; Pasted as: mIRC
Description: n/a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
alias testscript {
  var %inc, %dec, %i, %a, %z = 100
  while (%z) {
    var %a = 1000, %ticks1 = $ticks  
    while (%a) {
      var %i = 1
      while ($comchan($me,%i)) inc %i
      dec %a
    }
    var %ticks2 = $ticks
    inc %inc $calc(%ticks2 -%ticks1)
 
    var %a = 1000, %ticks3 = $ticks
    while (%a) {
      var %i = $comchan($me,0)
      while ($comchan($me,%i)) dec %i
      dec %a
    }
    var %ticks4 = $ticks
    inc %dec $calc(%ticks4 -%ticks3)
    dec %z
  }
 
  echo -agt Completed 200,000 runs, inc took %inc $+ ms while dec took %dec $+ ms.
}
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)