- Subject: Re: API
- From: Morten Bo Johansen <mojo@xxxxxxxx>
- Date: Mon, 14 Jul 2003 13:20:12 +0200
Paul Boekholt <p.boekholt@xxxxxxxxx> wrote:
PB> Try this.
PB> tic();
PB> define test()
PB> {
PB> tic();
PB> go_up_1;
PB> go_down_1;
PB %% repeat a 1000 times
PB> vmessage("%S", toc());
PB> }
Why are the timings so different under jed/console, jed/xterm
and xjed respectively? If I run the example from the
documentation:
variable a = "hello", b = "world", c, n = 100000, t;
tic (); loop (n) c = strcat(a,b); t = toc ();
vmessage ("strcat took %f seconds", t);
Then I get
jed/console: 3.13 sec.
jed/xterm : 3.36 -
xjed : 5.20 -
Morten
--
"To create man was a quaint and original idea, but to add the sheep
was tautology." (Mark Twain)
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]